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