rust/tests/ui/error-codes/E0198.rs

9 lines
103 B
Rust

#![feature(negative_impls)]
struct Foo;
unsafe impl !Send for Foo { } //~ ERROR E0198
fn main() {
}