fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
534 B20 linesraw
1error: invalid const generic expression
2  --> $DIR/issue-103143.rs:2:13
3   |
4LL |     x::<#[a]y::<z>>
5   |             ^^^^^^
6   |
7help: expressions must be enclosed in braces to be used as const generic arguments
8   |
9LL |     x::<#[a]{ y::<z> }>
10   |             +        +
11
12error[E0425]: cannot find value `x` in this scope
13  --> $DIR/issue-103143.rs:2:5
14   |
15LL |     x::<#[a]y::<z>>
16   |     ^ not found in this scope
17
18error: aborting due to 2 previous errors
19
20For more information about this error, try `rustc --explain E0425`.