]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/unicode-quote-chars.rs
Rollup merge of #63299 - spastorino:in-projection-use-ref, r=oli-obk
[rust.git] / src / test / ui / parser / unicode-quote-chars.rs
1 // ignore-tidy-linelength
2
3 fn main() {
4     println!(“hello world”);
5     //~^ ERROR unknown start of token: \u{201c}
6     //~^^ HELP Unicode characters '“' (Left Double Quotation Mark) and '”' (Right Double Quotation Mark) look like '"' (Quotation Mark), but are not
7     //~^^^ ERROR unknown start of token: \u{201d}
8     //~^^^^ HELP Unicode character '”' (Right Double Quotation Mark) looks like '"' (Quotation Mark), but it is not
9     //~^^^^^ ERROR expected token: `,`
10 }