]> git.proxmox.com Git - rustc.git/blob - tests/ui/traits/duplicate-methods.stderr
New upstream version 1.68.2+dfsg1
[rustc.git] / tests / ui / traits / duplicate-methods.stderr
1 error[E0428]: the name `orange` is defined multiple times
2 --> $DIR/duplicate-methods.rs:3:5
3 |
4 LL | fn orange(&self);
5 | ----------------- previous definition of the value `orange` here
6 LL | fn orange(&self);
7 | ^^^^^^^^^^^^^^^^^ `orange` redefined here
8 |
9 = note: `orange` must be defined only once in the value namespace of this trait
10
11 error: aborting due to previous error
12
13 For more information about this error, try `rustc --explain E0428`.