]>
git.proxmox.com Git - rustc.git/blame - tests/ui/rfc-2497-if-let-chains/issue-88498.rs
Commit | Line | Data |
5099ac24 FG |
1 | // check-pass |
2 | |
3 | pub enum UnOp { |
4 | Not(Vec<()>), |
5 | } |
6 | |
7 | pub fn foo() { |
8 | if let Some(x) = None { |
9 | match x { |
10 | UnOp::Not(_) => {} |
11 | } |
12 | } |
13 | } |
14 | |
15 | fn main() { |
16 | } |