2017-12-06 10:18:03 +01:00
|
|
|
error[E0119]: conflicting implementations of trait `Foo` for type `u8`:
|
|
|
|
--> $DIR/specialization-feature-gate-overlap.rs:23:1
|
|
|
|
|
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | impl<T> Foo for T {
|
2017-12-17 23:46:55 -08:00
|
|
|
| ----------------- first implementation here
|
|
|
|
...
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | impl Foo for u8 { //~ ERROR E0119
|
2017-12-17 23:46:55 -08:00
|
|
|
| ^^^^^^^^^^^^^^^ conflicting implementation for `u8`
|
2017-12-06 10:18:03 +01:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
2018-03-03 15:59:40 +01:00
|
|
|
For more information about this error, try `rustc --explain E0119`.
|