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

4 lines
82 B
Rust
Raw Normal View History

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