summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/attribute-with-no-generics-in-parameter-list.rs
blob: c2cc91d8f7703768c45c9ca21ad50bc235e38888 (plain)
1
2
3
fn foo<#[attr]>() {} //~ ERROR attribute without generic parameters

fn main() {}