1 warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes
2 --> $DIR/negative-specializes-positive.rs:1:12
4 LL | #![feature(specialization)]
7 = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
8 = help: consider using `min_specialization` instead, which is more stable and complete
9 = note: `#[warn(incomplete_features)]` on by default
11 error[E0751]: found both positive and negative implementation of trait `MyTrait` for type `u32`:
12 --> $DIR/negative-specializes-positive.rs:7:1
14 LL | impl<T> MyTrait for T {}
15 | --------------------- positive implementation here
16 LL | impl !MyTrait for u32 {}
17 | ^^^^^^^^^^^^^^^^^^^^^ negative implementation here
19 error: aborting due to previous error; 1 warning emitted
21 For more information about this error, try `rustc --explain E0751`.