summaryrefslogtreecommitdiffstats
path: root/tests/ui/rfc-2565-param-attrs/attr-without-param.stderr
blob: 26dff4d4b30bf416849e287dbc13771258af7e35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
error: expected parameter name, found `)`
  --> $DIR/attr-without-param.rs:3:17
   |
LL |     fn f(#[attr]) {}
   |                 ^ expected parameter name

error: expected parameter name, found `)`
  --> $DIR/attr-without-param.rs:8:17
   |
LL |     fn f(#[attr]) {}
   |                 ^ expected parameter name

error: expected argument name, found `)`
  --> $DIR/attr-without-param.rs:13:17
   |
LL |     fn f(#[attr]);
   |                 ^ expected argument name

error: aborting due to 3 previous errors