]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/unicode-quote-chars.stderr
Auto merge of #76110 - FedericoPonzi:convert-openoptions-cint, r=JoshTriplett
[rust.git] / src / test / ui / parser / unicode-quote-chars.stderr
1 error: unknown start of token: \u{201c}
2   --> $DIR/unicode-quote-chars.rs:4:14
3    |
4 LL |     println!(“hello world”);
5    |              ^
6    |
7 help: Unicode characters '“' (Left Double Quotation Mark) and '”' (Right Double Quotation Mark) look like '"' (Quotation Mark), but are not
8    |
9 LL |     println!("hello world");
10    |              ^^^^^^^^^^^^^
11
12 error: unknown start of token: \u{201d}
13   --> $DIR/unicode-quote-chars.rs:4:26
14    |
15 LL |     println!(“hello world”);
16    |                          ^
17    |
18 help: Unicode character '”' (Right Double Quotation Mark) looks like '"' (Quotation Mark), but it is not
19    |
20 LL |     println!(“hello world");
21    |                          ^
22
23 error: expected `,`, found `world`
24   --> $DIR/unicode-quote-chars.rs:4:21
25    |
26 LL |     println!(“hello world”);
27    |                     ^^^^^ expected `,`
28
29 error: aborting due to 3 previous errors
30