]>
Commit | Line | Data |
---|---|---|
f035d41b XL |
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 | |
3 | | | |
4 | LL | #![feature(specialization)] | |
5 | | ^^^^^^^^^^^^^^ | |
6 | | | |
f035d41b | 7 | = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information |
29967ef6 | 8 | = help: consider using `min_specialization` instead, which is more stable and complete |
2b03887a | 9 | = note: `#[warn(incomplete_features)]` on by default |
f035d41b XL |
10 | |
11 | error[E0277]: the trait bound `(): Valid` is not satisfied | |
a2a8927a | 12 | --> $DIR/issue-38091.rs:12:23 |
f035d41b | 13 | | |
f035d41b | 14 | LL | default type Ty = (); |
a2a8927a | 15 | | ^^ the trait `Valid` is not implemented for `()` |
94222f64 | 16 | | |
781aab86 FG |
17 | help: this trait has no implementations, consider adding one |
18 | --> $DIR/issue-38091.rs:20:1 | |
19 | | | |
20 | LL | trait Valid {} | |
21 | | ^^^^^^^^^^^ | |
94222f64 XL |
22 | note: required by a bound in `Iterate::Ty` |
23 | --> $DIR/issue-38091.rs:5:14 | |
24 | | | |
25 | LL | type Ty: Valid; | |
26 | | ^^^^^ required by this bound in `Iterate::Ty` | |
f035d41b XL |
27 | |
28 | error: aborting due to previous error; 1 warning emitted | |
29 | ||
30 | For more information about this error, try `rustc --explain E0277`. |