rust/src/test/ui/specialization/specialization-feature-gate-overlap.stderr

13 lines
414 B
Plaintext
Raw Normal View History

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