about summary refs log tree commit diff
path: root/tests/ui/inference/str-as-char-butchered.rs
blob: 6020cd3422fda005486569e160334449d5d0bbb0 (plain)
1
2
3
4
5
6
7
// issue: rust-lang/rust#125081

fn main() {
    let _: &str = 'β;
    //~^ ERROR expected `while`, `for`, `loop` or `{` after a label
    //~| ERROR mismatched types
}