summaryrefslogtreecommitdiffstats
path: root/src/test/ui/coherence/coherence-negative-impls-safe.stderr
blob: 1bd37f395902a287e532460cf11a3409fce3cfcd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
error[E0198]: negative impls cannot be unsafe
  --> $DIR/coherence-negative-impls-safe.rs:7:13
   |
LL | unsafe impl !Send for TestType {}
   | ------      -^^^^
   | |           |
   | |           negative because of this
   | unsafe because of this

error: aborting due to previous error

For more information about this error, try `rustc --explain E0198`.