mirror of
https://github.com/rust-lang/rust.git
synced 2025-12-03 03:29:21 +00:00
Done with ```bash sd '//@ pretty-expanded.*\n' '' tests/ui/**/*.rs ``` and ``` sd '//@pretty-expanded.*\n' '' tests/ui/**/*.rs ```
11 lines
138 B
Rust
11 lines
138 B
Rust
//@ check-pass
|
|
|
|
#![allow(dead_code)]
|
|
|
|
#![deny(non_snake_case)]
|
|
|
|
// This name is neither upper nor lower case
|
|
fn 你好() {}
|
|
|
|
fn main() {}
|