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