summaryrefslogtreecommitdiffstats
path: root/tests/ui/traits/object/auto-dedup-in-impl.stderr
blob: 5f13c781341c4d871adb5a522dc813797df05854 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
error[E0592]: duplicate definitions with name `test`
  --> $DIR/auto-dedup-in-impl.rs:14:5
   |
LL |     fn test(&self) { println!("one"); }
   |     ^^^^^^^^^^^^^^ duplicate definitions for `test`
...
LL |     fn test(&self) { println!("two"); }
   |     -------------- other definition for `test`

error: aborting due to previous error

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