]> git.lizzy.rs Git - rust.git/blob - src/test/ui/typeck/issue-84831.stderr
:arrow_up: rust-analyzer
[rust.git] / src / test / ui / typeck / issue-84831.stderr
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 _ }>;
10    |           +        +
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`.