summary refs log tree commit diff
path: root/src/test/ui/trait-duplicate-methods.stderr
blob: 5f796777c418c2b505ad361c6f4691b6c2e3c6a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
error[E0428]: the name `orange` is defined multiple times
  --> $DIR/trait-duplicate-methods.rs:13:5
   |
12 |     fn orange(&self);
   |     ----------------- previous definition of the value `orange` here
13 |     fn orange(&self); //~ ERROR the name `orange` is defined multiple times
   |     ^^^^^^^^^^^^^^^^^ `orange` redefined here
   |
   = note: `orange` must be defined only once in the value namespace of this trait

error: aborting due to previous error