fork/rust

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

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

master
516 B20 linesraw
1error: expected parameter name, found `)`
2  --> $DIR/attr-without-param.rs:3:17
3   |
4LL |     fn f(#[attr]) {}
5   |                 ^ expected parameter name
6
7error: expected parameter name, found `)`
8  --> $DIR/attr-without-param.rs:8:17
9   |
10LL |     fn f(#[attr]) {}
11   |                 ^ expected parameter name
12
13error: expected argument name, found `)`
14  --> $DIR/attr-without-param.rs:13:17
15   |
16LL |     fn f(#[attr]);
17   |                 ^ expected argument name
18
19error: aborting due to 3 previous errors
20