fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

1.39.0
889 B28 linesraw
1error: unknown start of token: \u{201c}
2  --> $DIR/unicode-quote-chars.rs:4:14
3   |
4LL |     println!(“hello world”);
5   |              ^
6help: Unicode characters '“' (Left Double Quotation Mark) and '”' (Right Double Quotation Mark) look like '"' (Quotation Mark), but are not
7   |
8LL |     println!("hello world");
9   |              ^^^^^^^^^^^^^
10
11error: unknown start of token: \u{201d}
12  --> $DIR/unicode-quote-chars.rs:4:26
13   |
14LL |     println!(“hello world”);
15   |                          ^
16help: Unicode character '”' (Right Double Quotation Mark) looks like '"' (Quotation Mark), but it is not
17   |
18LL |     println!(“hello world");
19   |                          ^
20
21error: expected token: `,`
22  --> $DIR/unicode-quote-chars.rs:4:21
23   |
24LL |     println!(“hello world”);
25   |                     ^^^^^ expected `,`
26
27error: aborting due to 3 previous errors
28