]> git.lizzy.rs Git - rust.git/blob - tests/ui/coherence/coherence-inherited-subtyping.old.stderr
Auto merge of #107843 - bjorn3:sync_cg_clif-2023-02-09, r=bjorn3
[rust.git] / tests / ui / coherence / coherence-inherited-subtyping.old.stderr
1 error[E0592]: duplicate definitions with name `method1`
2   --> $DIR/coherence-inherited-subtyping.rs:14:5
3    |
4 LL |     fn method1(&self) {}
5    |     ^^^^^^^^^^^^^^^^^ duplicate definitions for `method1`
6 ...
7 LL |     fn method1(&self) {}
8    |     ----------------- other definition for `method1`
9    |
10    = note: this behavior recently changed as a result of a bug fix; see rust-lang/rust#56105 for details
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0592`.