2 // regression test for issue #101836
4 #![feature(negative_impls, extern_types)]
8 struct NeverCopy(NonCopy);
10 impl !Copy for NeverCopy {}
14 impl Drop for WithDrop { fn drop(&mut self) {} }
16 impl !Copy for WithDrop {}
25 impl !Copy for &mut Type {}
27 impl !Copy for dyn Trait {}
29 impl !Copy for ExternType {}