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
476 B
Plaintext
Raw Normal View History

error[E0428]: the name `orange` is defined multiple times
2021-02-08 22:15:45 +00:00
--> $DIR/duplicate-methods.rs:3:5
|
2018-02-23 00:42:32 +00:00
LL | fn orange(&self);
| ----------------- previous definition of the value `orange` here
2019-03-09 12:03:44 +00: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 1 previous error
2018-03-03 14:59:40 +00:00
For more information about this error, try `rustc --explain E0428`.