mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-03 20:23:59 +00:00
15 lines
423 B
Rust
15 lines
423 B
Rust
#![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
|
||
}
|