]> git.proxmox.com Git - rustc.git/blame - src/test/ui/async-await/issues/issue-78654.full.stderr
New upstream version 1.62.1+dfsg1
[rustc.git] / src / test / ui / async-await / issues / issue-78654.full.stderr
CommitLineData
29967ef6 1error[E0573]: expected type, found built-in attribute `feature`
5869c6ff 2 --> $DIR/issue-78654.rs:9:15
29967ef6
XL
3 |
4LL | impl<const H: feature> Foo {
5 | ^^^^^^^ not a type
6
7error[E0207]: the const parameter `H` is not constrained by the impl trait, self type, or predicates
04454e1e 8 --> $DIR/issue-78654.rs:9:6
29967ef6
XL
9 |
10LL | impl<const H: feature> Foo {
04454e1e 11 | ^^^^^^^^^^^^^^^^ unconstrained const parameter
29967ef6
XL
12 |
13 = note: expressions using a const parameter must map each value to a distinct output value
14 = note: proving the result of expressions other than the parameter are unique is not supported
15
16error: aborting due to 2 previous errors
17
18Some errors have detailed explanations: E0207, E0573.
19For more information about an error, try `rustc --explain E0207`.