1 // When denying at the crate level, be sure to not get random warnings from the
2 // injected intrinsics by the compiler.
4 #![deny(unused_attributes)]
7 #![crate_type = "bin"] //~ ERROR unused attribute
8 //~^ ERROR should be in the root module
11 #[crate_type = "bin"] fn main() {} //~ ERROR unused attribute
12 //~^ ERROR should be an inner