]>
Commit | Line | Data |
---|---|---|
1a4d82fc JJ |
1 | // When denying at the crate level, be sure to not get random warnings from the |
2 | // injected intrinsics by the compiler. | |
223e47cc | 3 | |
1a4d82fc | 4 | #![deny(unused_attributes)] |
970d7e83 | 5 | |
1a4d82fc | 6 | mod a { |
94222f64 | 7 | #![crate_type = "bin"] //~ ERROR should be in the root module |
223e47cc | 8 | } |
970d7e83 | 9 | |
94222f64 | 10 | #[crate_type = "bin"] fn main() {} //~ ERROR should be an inner |