rust/src/test/ui/attribute-with-no-generics-...

4 lines
82 B
Rust

fn foo<#[attr]>() {} //~ ERROR attribute without generic parameters
fn main() {}