]> git.proxmox.com Git - rustc.git/blob - src/test/ui/coherence/coherence-no-direct-lifetime-dispatch.old.stderr
New upstream version 1.40.0+dfsg1
[rustc.git] / src / test / ui / coherence / coherence-no-direct-lifetime-dispatch.old.stderr
1 error[E0119]: conflicting implementations of trait `MyTrait`:
2 --> $DIR/coherence-no-direct-lifetime-dispatch.rs:10: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`.