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

12 lines
169 B
Rust

// check-pass
#![allow(dead_code)]
// pretty-expanded FIXME #23616
#![deny(non_snake_case)]
// This name is neither upper nor lower case
fn () {}
fn main() {}