rust/tests/ui/traits/duplicate-methods.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
474 B
Plaintext
Raw Normal View History

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