2017-04-04 12:00:56 +00:00
|
|
|
error[E0592]: duplicate definitions with name `id`
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/overlapping_inherent_impls.rs:9:5
|
2017-04-04 12:00:56 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | fn id() {}
|
2020-08-12 21:02:14 +00:00
|
|
|
| ^^^^^^^ duplicate definitions for `id`
|
2017-04-04 12:00:56 +00:00
|
|
|
...
|
2018-02-23 00:42:32 +00:00
|
|
|
LL | fn id() {}
|
2020-08-12 21:02:14 +00:00
|
|
|
| ------- other definition for `id`
|
2017-04-04 12:00:56 +00:00
|
|
|
|
|
|
|
error[E0592]: duplicate definitions with name `bar`
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/overlapping_inherent_impls.rs:19:5
|
2017-04-04 12:00:56 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | fn bar(&self) {}
|
2020-08-12 21:02:14 +00:00
|
|
|
| ^^^^^^^^^^^^^ duplicate definitions for `bar`
|
2017-04-04 12:00:56 +00:00
|
|
|
...
|
2018-02-23 00:42:32 +00:00
|
|
|
LL | fn bar(&self) {}
|
2020-08-12 21:02:14 +00:00
|
|
|
| ------------- other definition for `bar`
|
2017-04-04 12:00:56 +00:00
|
|
|
|
|
|
|
error[E0592]: duplicate definitions with name `baz`
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/overlapping_inherent_impls.rs:29:5
|
2017-04-04 12:00:56 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | fn baz(&self) {}
|
2020-08-12 21:02:14 +00:00
|
|
|
| ^^^^^^^^^^^^^ duplicate definitions for `baz`
|
2017-04-04 12:00:56 +00:00
|
|
|
...
|
2018-02-23 00:42:32 +00:00
|
|
|
LL | fn baz(&self) {}
|
2020-08-12 21:02:14 +00:00
|
|
|
| ------------- other definition for `baz`
|
2017-07-25 07:50:49 +00:00
|
|
|
|
|
2019-09-18 22:16:16 +00:00
|
|
|
= note: upstream crates may add a new impl of trait `std::marker::Copy` for type `std::vec::Vec<_>` in future versions
|
2017-04-04 12:00:56 +00:00
|
|
|
|
2017-07-02 10:49:30 +00:00
|
|
|
error: aborting due to 3 previous errors
|
2017-04-04 12:00:56 +00:00
|
|
|
|
2019-06-14 01:54:27 +00:00
|
|
|
For more information about this error, try `rustc --explain E0592`.
|