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