]> git.proxmox.com Git - rustc.git/blame - src/test/ui/traits/reservation-impl/coherence-conflict.stderr
Merge tag 'debian/1.52.1+dfsg1-1_exp2' into proxmox/buster
[rustc.git] / src / test / ui / traits / reservation-impl / coherence-conflict.stderr
CommitLineData
e74abb32 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`.