2017-04-04 07:00:56 -05:00
|
|
|
error[E0592]: duplicate definitions with name `id`
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/overlapping_inherent_impls.rs:9:5
|
2017-04-04 07:00:56 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | fn id() {}
|
2020-08-12 16:02:14 -05:00
|
|
|
| ^^^^^^^ duplicate definitions for `id`
|
2017-04-04 07:00:56 -05:00
|
|
|
...
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | fn id() {}
|
2020-08-12 16:02:14 -05:00
|
|
|
| ------- other definition for `id`
|
2017-04-04 07:00:56 -05:00
|
|
|
|
|
|
|
error[E0592]: duplicate definitions with name `bar`
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/overlapping_inherent_impls.rs:19:5
|
2017-04-04 07:00:56 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | fn bar(&self) {}
|
2020-08-12 16:02:14 -05:00
|
|
|
| ^^^^^^^^^^^^^ duplicate definitions for `bar`
|
2017-04-04 07:00:56 -05:00
|
|
|
...
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | fn bar(&self) {}
|
2020-08-12 16:02:14 -05:00
|
|
|
| ------------- other definition for `bar`
|
2017-04-04 07:00:56 -05:00
|
|
|
|
|
|
|
error[E0592]: duplicate definitions with name `baz`
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/overlapping_inherent_impls.rs:29:5
|
2017-04-04 07:00:56 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | fn baz(&self) {}
|
2020-08-12 16:02:14 -05:00
|
|
|
| ^^^^^^^^^^^^^ duplicate definitions for `baz`
|
2017-04-04 07:00:56 -05:00
|
|
|
...
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | fn baz(&self) {}
|
2020-08-12 16:02:14 -05:00
|
|
|
| ------------- other definition for `baz`
|
2017-07-25 02:50:49 -05:00
|
|
|
|
|
2019-09-18 17:16:16 -05: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 07:00:56 -05:00
|
|
|
|
2017-07-02 05:49:30 -05:00
|
|
|
error: aborting due to 3 previous errors
|
2017-04-04 07:00:56 -05:00
|
|
|
|
2019-06-13 20:54:27 -05:00
|
|
|
For more information about this error, try `rustc --explain E0592`.
|