]> git.lizzy.rs Git - rust.git/blob - tests/ui/unicode.stderr
Auto merge of #3603 - xfix:random-state-lint, r=phansch
[rust.git] / tests / ui / unicode.stderr
1 error: zero-width space detected
2   --> $DIR/unicode.rs:12:12
3    |
4 LL |     print!("Here >​< is a ZWS, and ​another");
5    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6    |
7    = note: `-D clippy::zero-width-space` implied by `-D warnings`
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:18:12
13    |
14 LL |     print!("̀àh?");
15    |            ^^^^^
16    |
17    = note: `-D clippy::unicode-not-nfc` implied by `-D warnings`
18    = help: Consider replacing the string with:
19            ""̀àh?""
20
21 error: literal non-ASCII character detected
22   --> $DIR/unicode.rs:24:12
23    |
24 LL |     print!("Üben!");
25    |            ^^^^^^^
26    |
27    = note: `-D clippy::non-ascii-literal` implied by `-D warnings`
28    = help: Consider replacing the string with:
29            ""/u{dc}ben!""
30
31 error: aborting due to 3 previous errors
32