Revision control
Copy as Markdown
Other Tools
use pin_project::pin_project;
#[pin_project]
struct S {
#[pin]
f: u8,
}
impl Unpin for __S {} //~ ERROR E0412,E0321
fn main() {}
use pin_project::pin_project;
#[pin_project]
struct S {
#[pin]
f: u8,
}
impl Unpin for __S {} //~ ERROR E0412,E0321
fn main() {}