rust/tests/ui/parser/attribute-with-no-generics-in-parameter-list.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
254 B
Plaintext
Raw Normal View History

error: attribute without generic parameters
--> $DIR/attribute-with-no-generics-in-parameter-list.rs:1:8
|
2019-03-09 12:03:44 +00:00
LL | fn foo<#[attr]>() {}
| ^^^^^^^ attributes are only permitted when preceding parameters
error: aborting due to previous error