]> git.proxmox.com Git - rustc.git/blame - tests/ui/specialization/issue-38091.stderr
New upstream version 1.74.1+dfsg1
[rustc.git] / tests / ui / specialization / issue-38091.stderr
CommitLineData
f035d41b
XL
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 |
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
11error[E0277]: the trait bound `(): Valid` is not satisfied
a2a8927a 12 --> $DIR/issue-38091.rs:12:23
f035d41b 13 |
f035d41b 14LL | default type Ty = ();
a2a8927a 15 | ^^ the trait `Valid` is not implemented for `()`
94222f64 16 |
781aab86
FG
17help: this trait has no implementations, consider adding one
18 --> $DIR/issue-38091.rs:20:1
19 |
20LL | trait Valid {}
21 | ^^^^^^^^^^^
94222f64
XL
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`
f035d41b
XL
27
28error: aborting due to previous error; 1 warning emitted
29
30For more information about this error, try `rustc --explain E0277`.