[go: up one dir, main page]

pin-project 0.4.3

A crate for safe and ergonomic pin-projection.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#![cfg(pin_project_show_unpin_struct)]
#![warn(unsafe_code)]
#![warn(rust_2018_idioms, single_use_lifetimes)]

#[ignore]
#[test]
fn ui() {
    let t = trybuild::TestCases::new();
    t.compile_fail("tests/ui/cfg/*.rs");
    t.compile_fail("tests/ui/pin_project/*.rs");
    t.compile_fail("tests/ui/pinned_drop/*.rs");
    t.compile_fail("tests/ui/project/*.rs");
    t.compile_fail("tests/ui/unsafe_unpin/*.rs");
    t.compile_fail("tests/ui/unstable-features/*.rs");
    t.pass("tests/ui/*/run-pass/*.rs");
}