1
Fork 0
rust/src/test/ui/coherence/coherence-negative-impls-safe.stderr

12 lines
320 B
Text
Raw Normal View History

2018-08-08 14:28:26 +02:00
error[E0198]: negative impls cannot be unsafe
--> $DIR/coherence-negative-impls-safe.rs:7:1
2018-08-08 14:28:26 +02:00
|
LL | unsafe impl !Send for TestType {}
| ------^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| unsafe because of this
2018-08-08 14:28:26 +02:00
error: aborting due to previous error
For more information about this error, try `rustc --explain E0198`.