]> git.lizzy.rs Git - rust.git/blob - tests/ui/unicode.stderr
Move MSRV tests into the lint specific test files
[rust.git] / tests / ui / unicode.stderr
1 error: invisible character detected
2   --> $DIR/unicode.rs:7: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:9: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:11: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:17: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:25:16
31    |
32 LL |         print!("Üben!");
33    |                ^^^^^^^ help: consider replacing the string with: `"/u{dc}ben!"`
34    |
35 note: the lint level is defined here
36   --> $DIR/unicode.rs:22:13
37    |
38 LL |     #![deny(clippy::non_ascii_literal)]
39    |             ^^^^^^^^^^^^^^^^^^^^^^^^^
40
41 error: literal non-ASCII character detected
42   --> $DIR/unicode.rs:31:36
43    |
44 LL |         const _EMPTY_BLOCK: char = '▱';
45    |                                    ^^^ help: consider replacing the string with: `'/u{25b1}'`
46
47 error: literal non-ASCII character detected
48   --> $DIR/unicode.rs:32:35
49    |
50 LL |         const _FULL_BLOCK: char = '▰';
51    |                                   ^^^ help: consider replacing the string with: `'/u{25b0}'`
52
53 error: literal non-ASCII character detected
54   --> $DIR/unicode.rs:52:21
55    |
56 LL |             let _ = "悲しいかな、ここに日本語を書くことはできない。";
57    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider replacing the string with: `"/u{60b2}/u{3057}/u{3044}/u{304b}/u{306a}/u{3001}/u{3053}/u{3053}/u{306b}/u{65e5}/u{672c}/u{8a9e}/u{3092}/u{66f8}/u{304f}/u{3053}/u{3068}/u{306f}/u{3067}/u{304d}/u{306a}/u{3044}/u{3002}"`
58    |
59 note: the lint level is defined here
60   --> $DIR/unicode.rs:41:17
61    |
62 LL |         #![deny(clippy::non_ascii_literal)]
63    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^
64
65 error: aborting due to 8 previous errors
66