rust/tests/ui/lint/lint-non-snake-case-crate.rs
2023-01-11 09:32:08 +00:00

6 lines
133 B
Rust

#![crate_name = "NonSnakeCase"]
//~^ ERROR crate `NonSnakeCase` should have a snake case name
#![deny(non_snake_case)]
fn main() {}