blob: e281969ac2e0e106ef78b33be0f8443472eabfd8 [file] [edit]
error[E0751]: found both positive and negative implementation of trait `MyTrait` for type `u32`:
--> $DIR/negative-specializes-positive-item.rs:11:1
|
LL | impl<T> MyTrait for T {
| --------------------- positive implementation here
...
LL | impl !MyTrait for u32 {}
| ^^^^^^^^^^^^^^^^^^^^^ negative implementation here
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0751`.