};
let x: &Void = unsafe { std::mem::uninitialized() };
- let _ = match x {};
- //~^ ERROR non-exhaustive
+ let _ = match x {}; //~ ERROR non-exhaustive
let x: (Void,) = unsafe { std::mem::uninitialized() };
- let _ = match x {};
- //~^ ERROR non-exhaustive
+ let _ = match x {}; //~ ERROR non-exhaustive
let x: [Void; 1] = unsafe { std::mem::uninitialized() };
- let _ = match x {};
- //~^ ERROR non-exhaustive
+ let _ = match x {}; //~ ERROR non-exhaustive
let x: &[Void] = unsafe { std::mem::uninitialized() };
let _ = match x { //~ ERROR non-exhaustive
let Ok(x) = x;
//~^ ERROR refutable
}
-