2020-04-22 07:18:22 -05:00
|
|
|
error[E0751]: found both positive and negative implementation of trait `MyTrait` for type `u32`:
|
2020-01-08 05:39:38 -06:00
|
|
|
--> $DIR/negative-specializes-positive-item.rs:11:1
|
|
|
|
|
|
|
|
|
LL | impl<T> MyTrait for T {
|
2020-01-08 13:10:59 -06:00
|
|
|
| --------------------- positive implementation here
|
2020-01-08 05:39:38 -06:00
|
|
|
...
|
2020-01-08 13:10:59 -06:00
|
|
|
LL | impl !MyTrait for u32 {}
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^ negative implementation here
|
2020-01-08 05:39:38 -06:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
2020-04-22 07:18:22 -05:00
|
|
|
For more information about this error, try `rustc --explain E0751`.
|