]> git.lizzy.rs Git - rust.git/blob - src/test/ui/attribute-with-no-generics-in-parameter-list.stderr
Merge commit '9a0c32934ebe376128230aa8da3275697b2053e7' into sync_cg_clif-2021-03-05
[rust.git] / src / test / ui / attribute-with-no-generics-in-parameter-list.stderr
1 error: attribute without generic parameters
2   --> $DIR/attribute-with-no-generics-in-parameter-list.rs:1:8
3    |
4 LL | fn foo<#[attr]>() {}
5    |        ^^^^^^^ attributes are only permitted when preceding parameters
6
7 error: aborting due to previous error
8