2024-02-08 00:09:31 +01:00
|
|
|
#![feature(never_patterns)]
|
|
|
|
#![allow(incomplete_features)]
|
|
|
|
|
|
|
|
enum Void {}
|
|
|
|
|
|
|
|
fn main() {}
|
|
|
|
|
|
|
|
fn anything<T>() -> T {
|
|
|
|
let x: Void;
|
|
|
|
match x { ! }
|
2024-02-20 04:07:50 +01:00
|
|
|
//~^ ERROR used binding `x` isn't initialized
|
2024-02-08 00:09:31 +01:00
|
|
|
}
|