]> git.lizzy.rs Git - rust.git/blob - src/test/ui/coherence/coherence-no-direct-lifetime-dispatch.stderr
Auto merge of #75936 - sdroege:chunks-exact-construction-bounds-check, r=nagisa
[rust.git] / src / test / ui / coherence / coherence-no-direct-lifetime-dispatch.stderr
1 error[E0119]: conflicting implementations of trait `MyTrait`:
2   --> $DIR/coherence-no-direct-lifetime-dispatch.rs:6:1
3    |
4 LL | impl<T> MyTrait for T {}
5    | --------------------- first implementation here
6 LL | impl<T: 'static> MyTrait for T {}
7    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0119`.