Files
rust/tests/ui/uninhabited/uninhabited-pin-field.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
128 B
Rust
Raw Normal View History

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