1 warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes
2 --> $DIR/issue-38091.rs:1:12
4 LL | #![feature(specialization)]
7 = note: `#[warn(incomplete_features)]` on by default
8 = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
10 error[E0277]: the trait bound `(): Valid` is not satisfied
11 --> $DIR/issue-38091.rs:9:5
14 | --------------- required by `Iterate::Ty`
16 LL | default type Ty = ();
17 | ^^^^^^^^^^^^^^^^^^^^^ the trait `Valid` is not implemented for `()`
19 error: aborting due to previous error; 1 warning emitted
21 For more information about this error, try `rustc --explain E0277`.