fork/rust
git clone https://git.julia.blue/fork/rust
5e1a799842b
1.41.0
1error[E0119]: conflicting implementations of trait `Foo` for type `u8`: 2 --> $DIR/specialization-polarity.rs:9:1 3 | 4LL | impl<T> Foo for T {} 5 | ----------------- first implementation here 6LL | impl !Foo for u8 {} 7 | ^^^^^^^^^^^^^^^^ conflicting implementation for `u8` 8 9error[E0119]: conflicting implementations of trait `Bar` for type `u8`: 10 --> $DIR/specialization-polarity.rs:14:1 11 | 12LL | impl<T> !Bar for T {} 13 | ------------------ first implementation here 14LL | impl Bar for u8 {} 15 | ^^^^^^^^^^^^^^^ conflicting implementation for `u8` 16 17error: aborting due to 2 previous errors 18 19For more information about this error, try `rustc --explain E0119`.