blob: 3d0d9a7a4f807ea2c3270780ee2d99e519ed5c77 [file] [log] [blame]
use std::pin::Pin;
enum Void {}
fn demo(x: Pin<Void>) {
match x {}
//~^ ERROR non-exhaustive patterns
}
fn main() {}