]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/unicode-quote-chars.rs
Merge commit 'e36a20c24f35a4cee82bbdc600289104c9237c22' into ra-sync-and-pms-component
[rust.git] / src / test / 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 }