]> git.proxmox.com Git - rustc.git/blame - 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
CommitLineData
b7449926 1error[E0119]: conflicting implementations of trait `MyTrait`:
0731742a 2 --> $DIR/coherence-no-direct-lifetime-dispatch.rs:10:1
b7449926
XL
3 |
4LL | impl<T> MyTrait for T {}
5 | --------------------- first implementation here
0731742a 6LL | impl<T: 'static> MyTrait for T {}
b7449926
XL
7 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation
8
9error: aborting due to previous error
10
11For more information about this error, try `rustc --explain E0119`.