summaryrefslogtreecommitdiffstats
path: root/tests/ui/rfc-2091-track-caller/error-odd-syntax.rs
blob: 6f4290e2a5ee955287429fd4b357b8bb5aadc8a7 (plain)
1
2
3
4
5
#[track_caller(1)]
fn f() {}
//~^^ ERROR malformed `track_caller` attribute input

fn main() {}