#![feature(negative_impls)] #![feature(specialization)] //~ WARN the feature `specialization` is incomplete trait MyTrait {} struct TestType(::std::marker::PhantomData); unsafe impl Send for TestType {} impl !Send for TestType {} //~ ERROR E0751 fn main() {}