fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes 2 --> $DIR/specialization-overlap.rs:1:12 3 | 4LL | #![feature(specialization)] 5 | ^^^^^^^^^^^^^^ 6 | 7 = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information 8 = help: consider using `min_specialization` instead, which is more stable and complete 9 = note: `#[warn(incomplete_features)]` on by default 10 11error[E0119]: conflicting implementations of trait `Foo` for type `Vec<_>` 12 --> $DIR/specialization-overlap.rs:5:1 13 | 14LL | impl<T: Clone> Foo for T {} 15 | ------------------------ first implementation here 16LL | impl<T> Foo for Vec<T> {} 17 | ^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `Vec<_>` 18 19error[E0119]: conflicting implementations of trait `Bar` for type `(u8, u8)` 20 --> $DIR/specialization-overlap.rs:9:1 21 | 22LL | impl<T> Bar for (T, u8) {} 23 | ----------------------- first implementation here 24LL | impl<T> Bar for (u8, T) {} 25 | ^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `(u8, u8)` 26 27error[E0119]: conflicting implementations of trait `Baz<u8>` for type `u8` 28 --> $DIR/specialization-overlap.rs:13:1 29 | 30LL | impl<T> Baz<T> for u8 {} 31 | --------------------- first implementation here 32LL | impl<T> Baz<u8> for T {} 33 | ^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `u8` 34 35error[E0119]: conflicting implementations of trait `Qux` 36 --> $DIR/specialization-overlap.rs:17:1 37 | 38LL | impl<T: Clone> Qux for T {} 39 | ------------------------ first implementation here 40LL | impl<T: Eq> Qux for T {} 41 | ^^^^^^^^^^^^^^^^^^^^^ conflicting implementation 42 43error: aborting due to 4 previous errors; 1 warning emitted 44 45For more information about this error, try `rustc --explain E0119`.