about summary refs log tree commit diff
path: root/tests/ui/delegation/glob-glob-conflict.stderr
blob: 8c7e5a4b023c7d14fb1758b0e7aeaf3ad58105af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
error[E0201]: duplicate definitions with name `method`:
  --> $DIR/glob-glob-conflict.rs:26:5
   |
LL |     fn method(&self) -> u8;
   |     ----------------------- item in trait
...
LL |     reuse Trait1::*;
   |     ---------------- previous definition here
LL |     reuse Trait2::*;
   |     ^^^^^^^^^^^^^^^^ duplicate definition

error[E0201]: duplicate definitions with name `method`:
  --> $DIR/glob-glob-conflict.rs:30:5
   |
LL |     fn method(&self) -> u8;
   |     ----------------------- item in trait
...
LL |     reuse Trait1::*;
   |     ---------------- previous definition here
LL |     reuse Trait1::*;
   |     ^^^^^^^^^^^^^^^^ duplicate definition

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0201`.