summaryrefslogtreecommitdiffstats
path: root/src/test/ui/lint/rfc-2457-non-ascii-idents/lint-mixed-script-confusables.rs
blob: 9d837d41f101f00e22063e11562de5a3e36549c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#![deny(mixed_script_confusables)]

struct ΑctuallyNotLatin;
//~^ ERROR the usage of Script Group `Greek` in this crate consists solely of

fn main() {
    let v = ΑctuallyNotLatin;
}

mod роре {
//~^ ERROR the usage of Script Group `Cyrillic` in this crate consists solely of
    const : &'static str = "アイウ";
    //~^ ERROR the usage of Script Group `Japanese, Katakana` in this crate consists solely of
}