2017-12-10 22:47:55 +03:00
|
|
|
error[E0428]: the name `orange` is defined multiple times
|
|
|
|
--> $DIR/trait-duplicate-methods.rs:13:5
|
|
|
|
|
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | fn orange(&self);
|
2017-12-10 22:47:55 +03:00
|
|
|
| ----------------- previous definition of the value `orange` here
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | fn orange(&self); //~ ERROR the name `orange` is defined multiple times
|
2017-12-10 22:47:55 +03:00
|
|
|
| ^^^^^^^^^^^^^^^^^ `orange` redefined here
|
|
|
|
|
|
|
|
|
= note: `orange` must be defined only once in the value namespace of this trait
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
2018-02-19 21:40:25 +01:00
|
|
|
If you want more information on this error, try using "rustc --explain E0428"
|