#[track_caller] must be applied to a function
#[track_caller]
Erroneous code example:
#![allow(unused)] fn main() { #[track_caller] struct Bar { a: u8, } }ⓘ
#![allow(unused)] fn main() { #[track_caller] struct Bar { a: u8, } }