rust/tests/ui/destructuring-assignment/non-exhaustive-destructure.rs

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

5 lines
84 B
Rust
Raw Permalink Normal View History

fn main() {
None = Some(3);
//~^ ERROR refutable pattern in local binding
}