mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-11 07:34:18 +00:00
cf7303d217
Cleaning the empty lines for clarity.
40 lines
1,022 B
Text
40 lines
1,022 B
Text
error: zero-width space detected
|
||
--> $DIR/unicode.rs:6:12
|
||
|
|
||
6 | print!("Here >< is a ZWS, and another");
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
|
|
||
= note: #[deny(zero_width_space)] on by default
|
||
= help: Consider replacing the string with:
|
||
""Here >/u{200B}< is a ZWS, and /u{200B}another""
|
||
|
||
error: non-nfc unicode sequence detected
|
||
--> $DIR/unicode.rs:12:12
|
||
|
|
||
12 | print!("̀àh?");
|
||
| ^^^^^^^
|
||
|
|
||
note: lint level defined here
|
||
--> $DIR/unicode.rs:10:8
|
||
|
|
||
10 | #[deny(unicode_not_nfc)]
|
||
| ^^^^^^^^^^^^^^^
|
||
= help: Consider replacing the string with:
|
||
""̀àh?""
|
||
|
||
error: literal non-ASCII character detected
|
||
--> $DIR/unicode.rs:18:12
|
||
|
|
||
18 | print!("Üben!");
|
||
| ^^^^^^^
|
||
|
|
||
note: lint level defined here
|
||
--> $DIR/unicode.rs:16:8
|
||
|
|
||
16 | #[deny(non_ascii_literal)]
|
||
| ^^^^^^^^^^^^^^^^^
|
||
= help: Consider replacing the string with:
|
||
""/u{dc}ben!""
|
||
|
||
error: aborting due to 3 previous errors
|
||
|