rust/tests/ui/parser/unicode-chars.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
391 B
Rust
Raw Normal View History

fn main() {
let y = 0;
//~^ ERROR unknown start of token: \u{37e}
2018-05-26 04:57:02 +00:00
//~^^ HELP Unicode character ';' (Greek Question Mark) looks like ';' (Semicolon), but it is not
2023-01-14 19:02:14 +00:00
    let x = 0;
//~^ ERROR unknown start of token: \u{a0}
//~^^ NOTE character appears 3 more times
//~^^^ HELP Unicode character ' ' (No-Break Space) looks like ' ' (Space), but it is not
}