#[track_caller]
struct S;
//~^^ ERROR attribute should be applied to a function definition
fn main() {}