summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/unicode-quote-chars.rs
blob: 868d2b227b74ca071bb5f5c6dc1dfac0ce9e40a4 (plain)
1
2
3
4
5
6
7
8
fn main() {
    println!(hello world);
    //~^ ERROR unknown start of token: \u{201c}
    //~^^ HELP Unicode characters '“' (Left Double Quotation Mark) and '”' (Right Double Quotation Mark) look like '"' (Quotation Mark), but are not
    //~^^^ ERROR unknown start of token: \u{201d}
    //~^^^^ HELP Unicode character '”' (Right Double Quotation Mark) looks like '"' (Quotation Mark), but it is not
    //~^^^^^ ERROR expected `,`, found `world`
}