]> git.proxmox.com Git - rustc.git/blob - src/test/ui/issues/issue-38091.stderr
New upstream version 1.46.0~beta.2+dfsg1
[rustc.git] / src / test / ui / issues / issue-38091.stderr
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 |
7 = note: `#[warn(incomplete_features)]` on by default
8 = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
9
10 error[E0277]: the trait bound `(): Valid` is not satisfied
11 --> $DIR/issue-38091.rs:9:5
12 |
13 LL | type Ty: Valid;
14 | --------------- required by `Iterate::Ty`
15 ...
16 LL | default type Ty = ();
17 | ^^^^^^^^^^^^^^^^^^^^^ the trait `Valid` is not implemented for `()`
18
19 error: aborting due to previous error; 1 warning emitted
20
21 For more information about this error, try `rustc --explain E0277`.