]> git.lizzy.rs Git - rust.git/blob - src/test/ui/match/issue-82392.rs
Make some diagnostics not depend on the source of what they reference being available
[rust.git] / src / test / ui / match / issue-82392.rs
1 // https://github.com/rust-lang/rust/issues/82329
2 // compile-flags: -Zunpretty=hir,typed
3 // check-pass
4
5 pub fn main() {
6     if true {
7     } else if let Some(a) = Some(3) {
8     }
9 }