blob: f8f9d7a9aa6ce8ecfa8a1cf77cd0b68d1ba5ade2 [file] [log] [blame]
#![feature(never_patterns)]
#![allow(incomplete_features)]
enum Void {}
fn main() {}
fn anything<T>() -> T {
let x: Void;
match x { ! }
//~^ ERROR used binding `x` isn't initialized
}