]> git.lizzy.rs Git - rust.git/blob - tests/ui/disallowed_script_idents.rs
Auto merge of #9684 - kraktus:ref_option_ref, r=xFrednet
[rust.git] / tests / ui / disallowed_script_idents.rs
1 #![deny(clippy::disallowed_script_idents)]
2 #![allow(dead_code)]
3
4 fn main() {
5     let counter = 10; // OK, latin is allowed.
6     let zähler = 10; // OK, it's still latin.
7
8     let счётчик = 10; // Cyrillic is not allowed by default.
9     let カウンタ = 10; // Same for japanese.
10 }