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/issue-38091.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[E0277]: the trait bound `(): Valid` is not satisfied 12 --> $DIR/issue-38091.rs:12:23 13 | 14LL | default type Ty = (); 15 | ^^ the trait `Valid` is not implemented for `()` 16 | 17help: this trait has no implementations, consider adding one 18 --> $DIR/issue-38091.rs:20:1 19 | 20LL | trait Valid {} 21 | ^^^^^^^^^^^ 22note: required by a bound in `Iterate::Ty` 23 --> $DIR/issue-38091.rs:5:14 24 | 25LL | type Ty: Valid; 26 | ^^^^^ required by this bound in `Iterate::Ty` 27 28error: aborting due to previous error; 1 warning emitted 29 30For more information about this error, try `rustc --explain E0277`.