mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 00:34:06 +00:00
9 lines
254 B
Plaintext
9 lines
254 B
Plaintext
error: attribute without generic parameters
|
|
--> $DIR/attribute-with-no-generics-in-parameter-list.rs:1:8
|
|
|
|
|
LL | fn foo<#[attr]>() {}
|
|
| ^^^^^^^ attributes are only permitted when preceding parameters
|
|
|
|
error: aborting due to previous error
|
|
|