2017-12-10 19:47:55 +00:00
|
|
|
error[E0428]: the name `orange` is defined multiple times
|
2021-02-08 22:15:45 +00:00
|
|
|
--> $DIR/duplicate-methods.rs:3:5
|
2017-12-10 19:47:55 +00:00
|
|
|
|
|
2018-02-23 00:42:32 +00:00
|
|
|
LL | fn orange(&self);
|
2017-12-10 19:47:55 +00:00
|
|
|
| ----------------- previous definition of the value `orange` here
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | fn orange(&self);
|
2017-12-10 19:47:55 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^ `orange` redefined here
|
|
|
|
|
|
|
|
|
= note: `orange` must be defined only once in the value namespace of this trait
|
|
|
|
|
2023-11-21 15:44:16 +00:00
|
|
|
error: aborting due to 1 previous error
|
2017-12-10 19:47:55 +00:00
|
|
|
|
2018-03-03 14:59:40 +00:00
|
|
|
For more information about this error, try `rustc --explain E0428`.
|