diff options
Diffstat (limited to 'tests/ui/unsafe_unpin/not-implement-unsafe-unpin.stderr')
-rw-r--r-- | tests/ui/unsafe_unpin/not-implement-unsafe-unpin.stderr | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/tests/ui/unsafe_unpin/not-implement-unsafe-unpin.stderr b/tests/ui/unsafe_unpin/not-implement-unsafe-unpin.stderr deleted file mode 100644 index 0baefe3..0000000 --- a/tests/ui/unsafe_unpin/not-implement-unsafe-unpin.stderr +++ /dev/null @@ -1,11 +0,0 @@ -error[E0277]: the trait bound `Struct<(), ()>: pin_project::UnsafeUnpin` is not satisfied - --> $DIR/not-implement-unsafe-unpin.rs:13:16 - | -10 | fn is_unpin<T: Unpin>() {} - | ----- required by this bound in `is_unpin` -... -13 | is_unpin::<Struct<(), ()>>(); //~ ERROR E0277 - | ^^^^^^^^^^^^^^ the trait `pin_project::UnsafeUnpin` is not implemented for `Struct<(), ()>` - | - = note: required because of the requirements on the impl of `pin_project::UnsafeUnpin` for `pin_project::__private::Wrapper<'_, Struct<(), ()>>` - = note: required because of the requirements on the impl of `std::marker::Unpin` for `Struct<(), ()>` |