]>
Commit | Line | Data |
---|---|---|
ff7c6d11 | 1 | error[E0428]: the name `orange` is defined multiple times |
0731742a | 2 | --> $DIR/trait-duplicate-methods.rs:3:5 |
ff7c6d11 | 3 | | |
0531ce1d | 4 | LL | fn orange(&self); |
ff7c6d11 | 5 | | ----------------- previous definition of the value `orange` here |
532ac7d7 | 6 | LL | 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 | ||
11 | error: aborting due to previous error | |
12 | ||
0531ce1d | 13 | For more information about this error, try `rustc --explain E0428`. |