Error code E0739

#[track_caller] must be applied to a function

Erroneous code example:

#![allow(unused)]
fn main() {
#[track_caller]
struct Bar {
    a: u8,
}
}