#[diagnostic] //~^ERROR cannot find attribute `diagnostic` in this scope pub struct Bar; fn main() { }