mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 01:04:03 +00:00
21 lines
516 B
Plaintext
21 lines
516 B
Plaintext
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
|
|
|