2020-01-24 14:57:01 -06:00
|
|
|
error[E0592]: duplicate definitions with name `method1`
|
2023-05-23 11:16:41 -05:00
|
|
|
--> $DIR/coherence-inherited-subtyping.rs:12:5
|
2020-01-24 14:57:01 -06:00
|
|
|
|
|
|
|
|
LL | fn method1(&self) {}
|
2020-08-12 16:02:14 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^ duplicate definitions for `method1`
|
2020-01-24 14:57:01 -06:00
|
|
|
...
|
|
|
|
LL | fn method1(&self) {}
|
2020-08-12 16:02:14 -05:00
|
|
|
| ----------------- other definition for `method1`
|
2020-01-24 14:57:01 -06:00
|
|
|
|
|
|
|
|
= note: this behavior recently changed as a result of a bug fix; see rust-lang/rust#56105 for details
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0592`.
|