summaryrefslogtreecommitdiffstats
path: root/tests/ui/lint/lint-non-snake-case-no-lowercase-equivalent.rs
blob: 9f0c87dcaa61c74d23c8fb70d67339d806017faf (plain)
1
2
3
4
5
6
7
8
9
10
11
// check-pass

#![allow(dead_code)]
// pretty-expanded FIXME #23616

#![deny(non_snake_case)]

// This name is neither upper nor lower case
fn 你好() {}

fn main() {}