1error: cross-crate traits with a default impl, like `Unpin`, should not be specialized 2 --> tests/ui/unstable-features/negative_impls.rs:17:1 3 | 417 | impl Unpin for Foo<MyPhantomPinned, ()> {} 5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 6 | 7 = warning: this will change its meaning in a future release! 8 = note: for more information, see issue #93367 <https://github.com/rust-lang/rust/issues/93367> 9 = note: `MyPhantomPinned` is not a generic parameter 10note: try using the same sequence of generic parameters as the struct definition 11 --> tests/ui/unstable-features/negative_impls.rs:8:1 12 | 138 | struct Foo<Pinned, Unpinned> { 14 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 15note: the lint level is defined here 16 --> tests/ui/unstable-features/negative_impls.rs:2:9 17 | 182 | #![deny(suspicious_auto_trait_impls)] 19 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 20