rust/tests/ui/unicode.stderr

33 lines
921 B
Text
Raw Normal View History

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