]> git.proxmox.com Git - rustc.git/blame - tests/ui/coherence/inter-crate-ambiguity-causes-notes.next.stderr
New upstream version 1.75.0+dfsg1
[rustc.git] / tests / ui / coherence / inter-crate-ambiguity-causes-notes.next.stderr
CommitLineData
487cf647 1error[E0119]: conflicting implementations of trait `From<()>` for type `S`
781aab86 2 --> $DIR/inter-crate-ambiguity-causes-notes.rs:12:1
064997fb 3 |
ed00b5ec
FG
4LL | impl From<()> for S {
5 | ------------------- first implementation here
064997fb 6...
ed00b5ec
FG
7LL | / impl<I> From<I> for S
8LL | |
9LL | | where
10LL | | I: Iterator<Item = ()>,
11 | |___________________________^ conflicting implementation for `S`
064997fb
FG
12 |
13 = note: upstream crates may add a new impl of trait `std::iter::Iterator` for type `()` in future versions
14
15error: aborting due to previous error
16
17For more information about this error, try `rustc --explain E0119`.