use std::pin::Pin; enum Void {} fn demo(x: Pin) { match x {} //~^ ERROR non-exhaustive patterns } fn main() {}