]> git.lizzy.rs Git - rust.git/blob - tests/ui/unicode.stderr
Merge pull request #1747 from Manishearth/mut_fp
[rust.git] / tests / ui / unicode.stderr
1 error: zero-width space detected
2  --> $DIR/unicode.rs:6:12
3   |
4 6 |     print!("Here >​< is a ZWS, and ​another");
5   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6   |
7   = note: #[deny(zero_width_space)] on by default
8   = help: Consider replacing the string with:
9           ""Here >/u{200B}< is a ZWS, and /u{200B}another""
10
11 error: non-nfc unicode sequence detected
12   --> $DIR/unicode.rs:12:12
13    |
14 12 |     print!("̀àh?");
15    |            ^^^^^^^
16    |
17 note: lint level defined here
18   --> $DIR/unicode.rs:10:8
19    |
20 10 | #[deny(unicode_not_nfc)]
21    |        ^^^^^^^^^^^^^^^
22    = help: Consider replacing the string with:
23            ""̀àh?""
24
25 error: literal non-ASCII character detected
26   --> $DIR/unicode.rs:18:12
27    |
28 18 |     print!("Üben!");
29    |            ^^^^^^^
30    |
31 note: lint level defined here
32   --> $DIR/unicode.rs:16:8
33    |
34 16 | #[deny(non_ascii_literal)]
35    |        ^^^^^^^^^^^^^^^^^
36    = help: Consider replacing the string with:
37            ""/u{dc}ben!""
38
39 error: aborting due to 3 previous errors
40