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