]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/attribute-with-no-generics-in-parameter-list.stderr
Auto merge of #90423 - Aaron1011:deduplicate-projection, r=jackh726
[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