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