]>
Commit | Line | Data |
---|---|---|
e1599b0c XL |
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 |