1 error[E0592]: duplicate definitions with name `method1`
2 --> $DIR/coherence-inherited-subtyping.rs:14:5
4 LL | fn method1(&self) {}
5 | ^^^^^^^^^^^^^^^^^ duplicate definitions for `method1`
7 LL | fn method1(&self) {}
8 | ----------------- other definition for `method1`
10 = note: this behavior recently changed as a result of a bug fix; see rust-lang/rust#56105 for details
12 error: aborting due to previous error
14 For more information about this error, try `rustc --explain E0592`.