summaryrefslogtreecommitdiffstats
path: root/src/test/ui/lint/lint-non-snake-case-crate-2.rs
blob: 1b763a9d868d91f1d590c58ce89c7803b55e56cd (plain)
1
2
3
4
5
6
// compile-flags: --crate-name NonSnakeCase
// error-pattern: crate `NonSnakeCase` should have a snake case name

#![deny(non_snake_case)]

fn main() {}