|
1 | 1 | error: unknown character escape: `\u{201c}` |
2 | | - --> $DIR/unicode-quote.rs:2:26 |
| 2 | + --> $DIR/unicode-quote.rs:2:20 |
3 | 3 | | |
4 | | -LL | dbg!("since when is \“THIS\” not allowed in a string literal"); |
5 | | - | ^ unknown character escape |
| 4 | +LL | dbg!("Is this \“ a small sized quote or a big sized quote. \“ "); |
| 5 | + | ^ unknown character escape |
| 6 | + | |
| 7 | + = help: \u{201c} is not an ascii quote, but may look like one in some fonts; consider writing it in its escaped form for clarity. |
| 8 | +help: if you meant to use a unicode quote; consider using its escaped form for clarity |
| 9 | + | |
| 10 | +LL - dbg!("Is this \“ a small sized quote or a big sized quote. \“ "); |
| 11 | +LL + dbg!("Is this \u{201c} a small sized quote or a big sized quote. \“ "); |
6 | 12 | | |
7 | | - = help: \u{201c} is not an ascii quote, but may look like one in some fonts. |
8 | | - consider writing it in its escaped form for clarity. |
9 | 13 |
|
10 | | -error: unknown character escape: `\u{201d}` |
11 | | - --> $DIR/unicode-quote.rs:2:32 |
| 14 | +error: unknown character escape: `\u{201c}` |
| 15 | + --> $DIR/unicode-quote.rs:2:65 |
| 16 | + | |
| 17 | +LL | dbg!("Is this \“ a small sized quote or a big sized quote. \“ "); |
| 18 | + | ^ unknown character escape |
| 19 | + | |
| 20 | + = help: \u{201c} is not an ascii quote, but may look like one in some fonts; consider writing it in its escaped form for clarity. |
| 21 | +help: if you meant to use a unicode quote; consider using its escaped form for clarity |
12 | 22 | | |
13 | | -LL | dbg!("since when is \“THIS\” not allowed in a string literal"); |
14 | | - | ^ unknown character escape |
| 23 | +LL - dbg!("Is this \“ a small sized quote or a big sized quote. \“ "); |
| 24 | +LL + dbg!("Is this \“ a small sized quote or a big sized quote. \u{201c} "); |
15 | 25 | | |
16 | | - = help: \u{201d} is not an ascii quote, but may look like one in some fonts. |
17 | | - consider writing it in its escaped form for clarity. |
18 | 26 |
|
19 | 27 | error: aborting due to 2 previous errors |
20 | 28 |
|
0 commit comments