rust/tests/ui/rfcs/rfc-2091-track-caller/error-odd-syntax.rs

6 lines
96 B
Rust

#[track_caller(1)]
fn f() {}
//~^^ ERROR malformed `track_caller` attribute input
fn main() {}