fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #71365 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4fb7144ed15

1.43.0
573 B14 linesraw
1error[E0119]: conflicting implementations of trait `Trait1<std::boxed::Box<_>>` for type `A`:
2  --> $DIR/issue-43355.rs:13:1
3   |
4LL | impl<X, T> Trait1<X> for T where T: Trait2<X> {
5   | --------------------------------------------- first implementation here
6...
7LL | impl<X> Trait1<Box<X>> for A {
8   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `A`
9   |
10   = note: downstream crates may implement trait `Trait2<std::boxed::Box<_>>` for type `A`
11
12error: aborting due to previous error
13
14For more information about this error, try `rustc --explain E0119`.