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