2018-06-01 08:52:07 -07:00
|
|
|
error[E0592]: duplicate definitions with name `test`
|
2021-02-08 23:15:45 +01:00
|
|
|
--> $DIR/auto-dedup-in-impl.rs:14:5
|
2018-06-01 08:52:07 -07:00
|
|
|
|
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | fn test(&self) { println!("one"); }
|
2020-08-12 17:02:14 -04:00
|
|
|
| ^^^^^^^^^^^^^^ duplicate definitions for `test`
|
2018-06-01 08:52:07 -07:00
|
|
|
...
|
|
|
|
LL | fn test(&self) { println!("two"); }
|
2020-08-12 17:02:14 -04:00
|
|
|
| -------------- other definition for `test`
|
2018-06-01 08:52:07 -07:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
2019-06-14 10:54:27 +09:00
|
|
|
For more information about this error, try `rustc --explain E0592`.
|