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
|
|
|
|
|
2023-11-21 09:44:16 -06:00
|
|
|
error: aborting due to 1 previous error
|
2020-01-24 14:57:01 -06:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0592`.
|