blob: 3279e4e594347bcbb40d3371de4e60df514950d1 (
plain)
1
2
3
4
5
6
7
8
|
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 1 previous error
|