]> git.lizzy.rs Git - rust.git/blob - src/test/ui/codemap_tests/coherence-overlapping-inherent-impl-trait.stderr
Merge commit 'e9d1a0a7b0b28dd422f1a790ccde532acafbf193' into sync_cg_clif-2022-08-24
[rust.git] / src / test / ui / codemap_tests / coherence-overlapping-inherent-impl-trait.stderr
1 error[E0592]: duplicate definitions with name `f`
2   --> $DIR/coherence-overlapping-inherent-impl-trait.rs:4:14
3    |
4 LL | impl dyn C { fn f() {} }
5    |              ^^^^^^ duplicate definitions for `f`
6 LL | impl dyn C { fn f() {} }
7    |              ------ other definition for `f`
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0592`.