rust/tests/ui/lint/lint-non-snake-case-no-lowercase-equivalent.rs
2024-02-16 20:02:50 +00:00

12 lines
171 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() {}