]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/attribute-with-no-generics-in-parameter-list.stderr
:arrow_up: rust-analyzer
[rust.git] / src / test / ui / parser / 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