rust/src/test/ui/error-codes/E0198.stderr
2018-12-25 21:08:33 -07:00

10 lines
269 B
Plaintext

error[E0198]: negative impls cannot be unsafe
--> $DIR/E0198.rs:5:1
|
LL | unsafe impl !Send for Foo { } //~ ERROR E0198
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: aborting due to previous error
For more information about this error, try `rustc --explain E0198`.