Sha256: c25e91a02bff728cebd90af12eb17c3ae9d269e767eaf88634bcb2bedf8c4cb3
Contents?: true
Size: 894 Bytes
Versions: 2
Compression:
Stored size: 894 Bytes
Contents
error[E0119]: conflicting implementations of trait `Unpin` for type `Foo<MyPhantomPinned, ()>` --> tests/ui/not_unpin/negative_impls_stable.rs:5:1 | 5 | / pin_project_lite::pin_project! { 6 | | #[project(!Unpin)] 7 | | struct Foo<Pinned, Unpinned> { 8 | | #[pin] ... | 12 | | } | |_^ conflicting implementation for `Foo<MyPhantomPinned, ()>` ... 16 | impl Unpin for Foo<MyPhantomPinned, ()> {} | --------------------------------------- first implementation here | = note: upstream crates may add a new impl of trait `std::marker::Unpin` for type `(std::marker::PhantomData<&()>, std::marker::PhantomPinned)` in future versions = note: this error originates in the macro `$crate::__pin_project_make_unpin_impl` which comes from the expansion of the macro `pin_project_lite::pin_project` (in Nightly builds, run with -Z macro-backtrace for more info)
Version data entries
2 entries across 2 versions & 1 rubygems