]> git.lizzy.rs Git - rust.git/blob - tests/ui/coherence/inter-crate-ambiguity-causes-notes.stderr
Auto merge of #106853 - TimNN:undo-remap, r=oli-obk
[rust.git] / tests / ui / coherence / inter-crate-ambiguity-causes-notes.stderr
1 error[E0119]: conflicting implementations of trait `From<()>` for type `S`
2   --> $DIR/inter-crate-ambiguity-causes-notes.rs:9:1
3    |
4 LL | impl From<()> for S {
5    | ------------------- first implementation here
6 ...
7 LL | impl<I> From<I> for S
8    | ^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `S`
9    |
10    = note: upstream crates may add a new impl of trait `std::iter::Iterator` for type `()` in future versions
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0119`.