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