]> git.lizzy.rs Git - rust.git/blob - src/test/ui/traits/negative-impls/positive-specializes-negative.stderr
permit negative impls for non-auto traits
[rust.git] / src / test / ui / traits / negative-impls / positive-specializes-negative.stderr
1 error[E0119]: conflicting implementations of trait `MyTrait` for type `u32`:
2   --> $DIR/positive-specializes-negative.rs:7:1
3    |
4 LL | impl<T> !MyTrait for T { }
5    | ---------------------- first implementation here
6 LL | impl MyTrait for u32 { }
7    | ^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `u32`
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0119`.