]> git.proxmox.com Git - rustc.git/blame - src/test/ui/coherence/coherence-projection-conflict-orphan.stderr
New upstream version 1.56.0~beta.4+dfsg1
[rustc.git] / src / test / ui / coherence / coherence-projection-conflict-orphan.stderr
CommitLineData
cdc7bbd5 1error[E0119]: conflicting implementations of trait `Foo<i32>` for type `i32`
60c5eb7d 2 --> $DIR/coherence-projection-conflict-orphan.rs:16:1
b7449926
XL
3 |
4LL | impl Foo<i32> for i32 { }
5 | --------------------- first implementation here
6LL |
0731742a 7LL | impl<A:Iterator> Foo<A::Item> for A { }
b7449926
XL
8 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `i32`
9 |
e1599b0c 10 = note: upstream crates may add a new impl of trait `std::iter::Iterator` for type `i32` in future versions
94222f64 11 = note: upstream crates may add a new impl of trait `std::iter::Iterator` for type `i32` in future versions
b7449926
XL
12
13error: aborting due to previous error
14
15For more information about this error, try `rustc --explain E0119`.