]> git.proxmox.com Git - rustc.git/blame - src/test/ui/traits/reservation-impl/coherence-conflict.stderr
New upstream version 1.53.0+dfsg1
[rustc.git] / src / test / ui / traits / reservation-impl / coherence-conflict.stderr
CommitLineData
cdc7bbd5 1error[E0119]: conflicting implementations of trait `OtherTrait` for type `()`
6a06907d 2 --> $DIR/coherence-conflict.rs:11:1
e74abb32
XL
3 |
4LL | impl OtherTrait for () {}
5 | ---------------------- first implementation here
6LL | impl<T: MyTrait> OtherTrait for T {}
7 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `()`
8 |
9 = note: this impl is reserved
10
11error: aborting due to previous error
12
13For more information about this error, try `rustc --explain E0119`.