1 2 3 4 5 6 7 8
#![feature(negative_impls)] struct Foo; unsafe impl !Send for Foo { } //~ ERROR E0198 fn main() { }