]> git.lizzy.rs Git - rust.git/blob - src/test/ui/traits/duplicate-methods.stderr
Rollup merge of #82179 - mbartlett21:patch-5, r=joshtriplett
[rust.git] / src / test / 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`.