rust/src/test/ui/error-codes/E0198.stderr

9 lines
202 B
Plaintext
Raw Normal View History

2018-02-07 21:35:35 -06:00
error[E0198]: negative impls cannot be unsafe
--> $DIR/E0198.rs:15:1
|
15 | unsafe impl !Send for Foo { } //~ ERROR E0198
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: aborting due to previous error