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 | 7note: the lint level is defined here 8 --> tests/ui/unstable-features/negative_impls.rs:2:9 9 | 102 | #![deny(suspicious_auto_trait_impls)] 11 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 12 = warning: this will change its meaning in a future release! 13 = note: for more information, see issue #93367 <https://github.com/rust-lang/rust/issues/93367> 14 = note: `MyPhantomPinned` is not a generic parameter 15note: try using the same sequence of generic parameters as the struct definition 16 --> tests/ui/unstable-features/negative_impls.rs:8:1 17 | 188 | struct Foo<Pinned, Unpinned> { 19 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 20