]> git.lizzy.rs Git - rust.git/blob - tests/ui/parser/unicode-quote-chars.rs
Rollup merge of #106798 - scottmcm:signum-via-cmp, r=Mark-Simulacrum
[rust.git] / tests / ui / parser / unicode-quote-chars.rs
1 fn main() {
2     println!(“hello world”);
3     //~^ ERROR unknown start of token: \u{201c}
4     //~^^ HELP Unicode characters '“' (Left Double Quotation Mark) and '”' (Right Double Quotation Mark) look like '"' (Quotation Mark), but are not
5     //~^^^ ERROR unknown start of token: \u{201d}
6     //~^^^^ HELP Unicode character '”' (Right Double Quotation Mark) looks like '"' (Quotation Mark), but it is not
7     //~^^^^^ ERROR expected `,`, found `world`
8 }