rust/src/test/ui/codemap_tests/overlapping_inherent_impls.stderr

33 lines
1,022 B
Text
Raw Normal View History

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