]> git.lizzy.rs Git - rust.git/blob - src/test/ui/coherence/coherence-overlap-upstream-inherent.stderr
Merge commit 'ea199bacef07213dbe008841b89c450e3bf0c638' into rustfmt-sync
[rust.git] / src / test / ui / coherence / coherence-overlap-upstream-inherent.stderr
1 error[E0592]: duplicate definitions with name `dummy`
2   --> $DIR/coherence-overlap-upstream-inherent.rs:12:32
3    |
4 LL | impl<T> A<T> where T: Remote { fn dummy(&self) { } }
5    |                                ^^^^^^^^^^^^^^^ duplicate definitions for `dummy`
6 LL |
7 LL | impl A<i16> { fn dummy(&self) { } }
8    |               --------------- other definition for `dummy`
9    |
10    = note: upstream crates may add a new impl of trait `coherence_lib::Remote` for type `i16` in future versions
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0592`.