]> git.proxmox.com Git - rustc.git/blame - src/test/ui/issues/issue-43355.stderr
New upstream version 1.64.0+dfsg1
[rustc.git] / src / test / ui / issues / issue-43355.stderr
CommitLineData
cdc7bbd5 1error[E0119]: conflicting implementations of trait `Trait1<std::boxed::Box<_>>` for type `A`
0731742a 2 --> $DIR/issue-43355.rs:13:1
8faf50e0
XL
3 |
4LL | impl<X, T> Trait1<X> for T where T: Trait2<X> {
064997fb 5 | -------------------------- first implementation here
8faf50e0
XL
6...
7LL | impl<X> Trait1<Box<X>> for A {
8 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `A`
9 |
8faf50e0
XL
10 = note: downstream crates may implement trait `Trait2<std::boxed::Box<_>>` for type `A`
11
12error: aborting due to previous error
13
48663c56 14For more information about this error, try `rustc --explain E0119`.