rust/tests/ui/coherence/coherence-negative-impls-safe.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
361 B
Plaintext
Raw Normal View History

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