]> git.lizzy.rs Git - rust.git/blob - src/test/ui/rfc-2565-param-attrs/attr-without-param.stderr
Auto merge of #98051 - davidtwco:split-dwarf-stabilization, r=wesleywiser
[rust.git] / src / test / ui / rfc-2565-param-attrs / attr-without-param.stderr
1 error: expected parameter name, found `)`
2   --> $DIR/attr-without-param.rs:3:17
3    |
4 LL |     fn f(#[attr]) {}
5    |                 ^ expected parameter name
6
7 error: expected parameter name, found `)`
8   --> $DIR/attr-without-param.rs:8:17
9    |
10 LL |     fn f(#[attr]) {}
11    |                 ^ expected parameter name
12
13 error: expected argument name, found `)`
14   --> $DIR/attr-without-param.rs:13:17
15    |
16 LL |     fn f(#[attr]);
17    |                 ^ expected argument name
18
19 error: aborting due to 3 previous errors
20