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
388 B
Rust
Raw Normal View History

fn main() {
let y = 0;
//~^ ERROR unknown start of token: \u{37e}
2018-05-25 23:57:02 -05:00
//~^^ HELP Unicode character ';' (Greek Question Mark) looks like ';' (Semicolon), but it is not
    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
}