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

7 lines
213 B
Rust
Raw Normal View History

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