1 error: attribute without generic parameters
2 --> $DIR/attribute-with-no-generics-in-parameter-list.rs:1:8
4 LL | fn foo<#[attr]>() {} //~ ERROR attribute without generic parameters
5 | ^^^^^^^ attributes are only permitted when preceding parameters
7 error: aborting due to previous error