summaryrefslogtreecommitdiffstats
path: root/src/test/ui/lint/lint-non-snake-case-crate.rs
blob: e4e84261a4ee9d062e01a148eb750a11a791459d (plain)
1
2
3
4
5
#![crate_name = "NonSnakeCase"]
//~^ ERROR crate `NonSnakeCase` should have a snake case name
#![deny(non_snake_case)]

fn main() {}