]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui/unicode.stderr
Auto merge of #78448 - rylev:cache-foreign_modules, r=wesleywiser
[rust.git] / src / tools / clippy / tests / ui / unicode.stderr
1 error: invisible character detected
2   --> $DIR/unicode.rs:3:12
3    |
4 LL |     print!("Here >​< is a ZWS, and ​another");
5    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider replacing the string with: `"Here >/u{200B}< is a ZWS, and /u{200B}another"`
6    |
7    = note: `-D clippy::invisible-characters` implied by `-D warnings`
8
9 error: invisible character detected
10   --> $DIR/unicode.rs:5:12
11    |
12 LL |     print!("Here >­< is a SHY, and ­another");
13    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider replacing the string with: `"Here >/u{AD}< is a SHY, and /u{AD}another"`
14
15 error: invisible character detected
16   --> $DIR/unicode.rs:7:12
17    |
18 LL |     print!("Here >⁠< is a WJ, and ⁠another");
19    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider replacing the string with: `"Here >/u{2060}< is a WJ, and /u{2060}another"`
20
21 error: non-NFC Unicode sequence detected
22   --> $DIR/unicode.rs:13:12
23    |
24 LL |     print!("̀àh?");
25    |            ^^^^^ help: consider replacing the string with: `"̀àh?"`
26    |
27    = note: `-D clippy::unicode-not-nfc` implied by `-D warnings`
28
29 error: literal non-ASCII character detected
30   --> $DIR/unicode.rs:19:12
31    |
32 LL |     print!("Üben!");
33    |            ^^^^^^^ help: consider replacing the string with: `"/u{dc}ben!"`
34    |
35    = note: `-D clippy::non-ascii-literal` implied by `-D warnings`
36
37 error: aborting due to 5 previous errors
38