You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
364 B
11 lines
364 B
7 months ago
|
error[E0277]: `PhantomPinned` cannot be unpinned
|
||
|
--> $DIR/rust_pinned.rs:6:14
|
||
|
|
|
||
|
6 | type Pinned;
|
||
|
| -----^^^^^^-
|
||
|
| | |
|
||
|
| | within `Pinned`, the trait `Unpin` is not implemented for `PhantomPinned`
|
||
|
| required by this bound in `__AssertUnpin`
|
||
|
|
|
||
|
= note: required because it appears within the type `Pinned`
|