fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #71365 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4fb7144ed15

1.43.0
480 B13 linesraw
1error[E0428]: the name `orange` is defined multiple times
2  --> $DIR/trait-duplicate-methods.rs:3:5
3   |
4LL |     fn orange(&self);
5   |     ----------------- previous definition of the value `orange` here
6LL |     fn orange(&self);
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
13For more information about this error, try `rustc --explain E0428`.