1 // Test that we are able to introduce a negative constraint that
2 // `MyType: !MyTrait` along with other "fundamental" wrappers.
4 // aux-build:coherence_copy_like_lib.rs
7 extern crate coherence_copy_like_lib as lib;
9 struct MyType { x: i32 }
11 // These are all legal because they are all fundamental types:
13 // Tuples are not fundamental, so this is not a local impl.
14 impl lib::MyCopy for (MyType,) { }