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