rust/src/test/ui/coherence/coherence-negative-impls-safe.old.stderr

10 lines
286 B
Plaintext
Raw Normal View History

2018-08-08 07:28:26 -05:00
error[E0198]: negative impls cannot be unsafe
2018-12-28 19:13:06 -06:00
--> $DIR/coherence-negative-impls-safe.rs:10:1
2018-08-08 07:28:26 -05:00
|
LL | unsafe impl !Send for TestType {}
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: aborting due to previous error
For more information about this error, try `rustc --explain E0198`.