summary refs log tree commit diff
path: root/src/test/ui/inference/char-as-str-multi.rs
blob: 21bbc6f20b294341ca41140e956ff44a9f154caf (plain)
1
2
3
4
5
6
// When a MULTI-character string literal is used where a char should be,
// DO NOT suggest changing to single quotes.

fn main() {
    let _: char = "foo"; //~ ERROR mismatched types
}