]> git.proxmox.com Git - rustc.git/blame - src/test/ui/typeck/issue-84831.stderr
New upstream version 1.56.0~beta.4+dfsg1
[rustc.git] / src / test / ui / typeck / issue-84831.stderr
CommitLineData
cdc7bbd5
XL
1error: expected one of `,` or `>`, found keyword `as`
2 --> $DIR/issue-84831.rs:5:13
3 |
4LL | std::<_ as _>;
5 | ^^ expected one of `,` or `>`
6 |
7help: expressions must be enclosed in braces to be used as const generic arguments
8 |
9LL | std::<{ _ as _ }>;
94222f64 10 | + +
cdc7bbd5
XL
11
12error[E0423]: expected value, found crate `std`
13 --> $DIR/issue-84831.rs:2:5
14 |
15LL | std::<0>;
16 | ^^^^^^^^ not a value
17
18error[E0423]: expected value, found crate `std`
19 --> $DIR/issue-84831.rs:5:5
20 |
21LL | std::<_ as _>;
22 | ^^^^^^^^^^^^^ not a value
23
24error: aborting due to 3 previous errors
25
26For more information about this error, try `rustc --explain E0423`.