2021-11-13 11:14:17 +00:00
|
|
|
|
error: character literal may only contain one codepoint
|
2021-11-13 12:46:22 +00:00
|
|
|
|
--> $DIR/whitespace-character-literal.rs:5:30
|
2021-11-13 11:14:17 +00:00
|
|
|
|
|
|
|
|
|
|
|
LL | let _hair_space_around = ' x';
|
2024-07-06 03:07:46 +00:00
|
|
|
|
| ^^^^
|
2021-11-13 11:14:17 +00:00
|
|
|
|
|
|
|
|
|
|
|
note: there are non-printing characters, the full sequence is `\u{200a}x\u{200b}`
|
2021-11-13 12:46:22 +00:00
|
|
|
|
--> $DIR/whitespace-character-literal.rs:5:31
|
2021-11-13 11:14:17 +00:00
|
|
|
|
|
|
|
|
|
|
|
LL | let _hair_space_around = ' x';
|
|
|
|
|
|
| ^^
|
2024-07-06 03:07:46 +00:00
|
|
|
|
help: consider removing the non-printing characters
|
|
|
|
|
|
|
|
2025-02-13 02:54:07 +00:00
|
|
|
|
LL | let _hair_space_around = 'x';
|
|
|
|
|
|
| ~
|
2021-11-13 11:14:17 +00:00
|
|
|
|
|
2023-11-21 15:44:16 +00:00
|
|
|
|
error: aborting due to 1 previous error
|
2021-11-13 11:14:17 +00:00
|
|
|
|
|