blob: 5a7d916c90d721bab9232a90369fe2971ada65b7 (
plain)
| 1
2
3
4
5
6
7
8
9
10
 | #![deny(unused)]
#[crate_name = "owo"]
//~^ ERROR: crate-level attribute should be an inner attribute: add an exclamation mark: `#![crate_name]`
fn main() {}
mod inner {
    #![crate_name = "iwi"]
    //~^ ERROR: the `#![crate_name]` attribute can only be used at the crate root
}
 |