rust/tests/ui/specialization/specialization-feature-gate...

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
397 B
Plaintext
Raw Normal View History

2021-04-07 09:16:11 +08:00
error[E0119]: conflicting implementations of trait `Foo` for type `u8`
2018-12-25 23:56:47 +08:00
--> $DIR/specialization-feature-gate-overlap.rs:13:1
|
2018-02-23 08:42:32 +08:00
LL | impl<T> Foo for T {
| ----------------- first implementation here
...
2019-03-09 20:03:44 +08:00
LL | impl Foo for u8 {
| ^^^^^^^^^^^^^^^ conflicting implementation for `u8`
error: aborting due to previous error
2018-03-03 22:59:40 +08:00
For more information about this error, try `rustc --explain E0119`.