fork/rust

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

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
576 B14 linesraw
1error[E0119]: conflicting implementations of trait `Foo<i32>` for type `i32`:
2  --> $DIR/coherence-projection-conflict-orphan.rs:16:1
3   |
4LL | impl Foo<i32> for i32 { }
5   | --------------------- first implementation here
6LL | 
7LL | impl<A:Iterator> Foo<A::Item> for A { }
8   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `i32`
9   |
10   = note: upstream crates may add a new impl of trait `std::iter::Iterator` for type `i32` in future versions
11
12error: aborting due to previous error
13
14For more information about this error, try `rustc --explain E0119`.