1 error: inherent impls cannot be negative
2 --> $DIR/syntax-trait-polarity.rs:7:7
5 | -^^^^^^^^ inherent impl for this type
7 | negative because of this
9 error[E0198]: negative impls cannot be unsafe
10 --> $DIR/syntax-trait-polarity.rs:12:13
12 LL | unsafe impl !Send for TestType {}
15 | | negative because of this
16 | unsafe because of this
18 error: inherent impls cannot be negative
19 --> $DIR/syntax-trait-polarity.rs:18:10
21 LL | impl<T> !TestType2<T> {}
22 | -^^^^^^^^^^^^ inherent impl for this type
24 | negative because of this
26 error[E0198]: negative impls cannot be unsafe
27 --> $DIR/syntax-trait-polarity.rs:21:16
29 LL | unsafe impl<T> !Send for TestType2<T> {}
32 | | negative because of this
33 | unsafe because of this
35 error: aborting due to 4 previous errors
37 For more information about this error, try `rustc --explain E0198`.