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