1 2 3 4 5 6 7
#[diagnostic] //~^ERROR cannot find attribute `diagnostic` in this scope pub struct Bar; fn main() { }