rust-clippy/tests/ui-toml/disallowed_script_idents/disallowed_script_idents.rs

7 lines
213 B
Rust
Raw Normal View History

2023-09-24 12:56:40 +00:00
#![warn(clippy::disallowed_script_idents)]
fn main() {
let счётчик = 10;
let = 10;
//~^ ERROR: identifier `カウンタ` has a Unicode script that is not allowed by configuration
}