rust/tests/ui/parser/attribute/attribute-with-no-generics-in-parameter-list.rs
2023-10-09 19:24:05 +00:00

4 lines
82 B
Rust

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