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