2017-04-04 12:08:56 +00:00
|
|
|
error[E0592]: duplicate definitions with name `f`
|
2019-05-28 18:46:13 +00:00
|
|
|
--> $DIR/coherence-overlapping-inherent-impl-trait.rs:4:14
|
2017-04-04 12:08:56 +00:00
|
|
|
|
|
2019-05-28 18:46:13 +00:00
|
|
|
LL | impl dyn C { fn f() {} }
|
2020-08-12 21:02:14 +00:00
|
|
|
| ^^^^^^ duplicate definitions for `f`
|
2019-05-28 18:46:13 +00:00
|
|
|
LL | impl dyn C { fn f() {} }
|
2020-08-12 21:02:14 +00:00
|
|
|
| ------ other definition for `f`
|
2017-04-04 12:08:56 +00:00
|
|
|
|
2023-11-21 15:44:16 +00:00
|
|
|
error: aborting due to 1 previous error
|
2017-04-04 12:08:56 +00:00
|
|
|
|
2019-06-14 01:54:27 +00:00
|
|
|
For more information about this error, try `rustc --explain E0592`.
|