rust-clippy/tests/ui/unicode.stderr

33 lines
930 B
Text
Raw Normal View History

error: zero-width space detected
2018-12-10 05:27:19 +00:00
--> $DIR/unicode.rs:12:12
2018-10-06 16:18:06 +00:00
|
2018-12-27 15:57:55 +00:00
LL | print!("Here >< is a ZWS, and another");
2018-10-06 16:18:06 +00:00
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `-D clippy::zero-width-space` implied by `-D warnings`
= help: Consider replacing the string with:
""Here >/u{200B}< is a ZWS, and /u{200B}another""
error: non-nfc unicode sequence detected
2018-12-10 05:27:19 +00:00
--> $DIR/unicode.rs:18:12
|
2018-12-27 15:57:55 +00:00
LL | print!("̀àh?");
2017-11-06 23:26:44 +00:00
| ^^^^^
|
= note: `-D clippy::unicode-not-nfc` implied by `-D warnings`
= help: Consider replacing the string with:
""̀àh?""
error: literal non-ASCII character detected
2018-12-10 05:27:19 +00:00
--> $DIR/unicode.rs:24:12
|
2018-12-27 15:57:55 +00:00
LL | print!("Üben!");
| ^^^^^^^
|
= note: `-D clippy::non-ascii-literal` implied by `-D warnings`
= help: Consider replacing the string with:
2017-08-01 15:54:21 +00:00
""/u{dc}ben!""
2018-01-16 16:06:27 +00:00
error: aborting due to 3 previous errors