]> git.proxmox.com Git - rustc.git/blame - src/test/ui/coherence/coherence-overlap-issue-23516.old.stderr
New upstream version 1.40.0+dfsg1
[rustc.git] / src / test / ui / coherence / coherence-overlap-issue-23516.old.stderr
CommitLineData
ff7c6d11 1error[E0119]: conflicting implementations of trait `Sweet` for type `std::boxed::Box<_>`:
0731742a 2 --> $DIR/coherence-overlap-issue-23516.rs:12:1
ff7c6d11 3 |
0531ce1d 4LL | impl<T:Sugar> Sweet for T { }
ff7c6d11 5 | ------------------------- first implementation here
0531ce1d 6LL | impl<U:Sugar> Sweet for Box<U> { }
ff7c6d11
XL
7 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `std::boxed::Box<_>`
8 |
9 = note: downstream crates may implement trait `Sugar` for type `std::boxed::Box<_>`
10
11error: aborting due to previous error
12
0531ce1d 13For more information about this error, try `rustc --explain E0119`.