rust/tests/ui/or-patterns/issue-69875-should-have-been-expanded-earlier.rs

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

8 lines
124 B
Rust
Raw Normal View History

// check-pass
fn main() {
let (0 | (1 | _)) = 0;
if let 0 | (1 | 2) = 0 {}
if let x @ 0 | x @ (1 | 2) = 0 {}
}