summary refs log tree commit diff
path: root/src/test/ui/parser/unicode-quote-chars.rs
blob: 69644211b8a11c750ed94a70c46a338f4a62a34a (plain)
1
2
3
4
5
6
7
// ignore-tidy-linelength

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
}