rust/tests/ui/inference/str-as-char-butchered.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
170 B
Rust
Raw Normal View History

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