mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-15 10:19:00 +00:00
17 lines
178 B
Rust
17 lines
178 B
Rust
//@ check-pass
|
|
|
|
pub enum UnOp {
|
|
Not(Vec<()>),
|
|
}
|
|
|
|
pub fn foo() {
|
|
if let Some(x) = None {
|
|
match x {
|
|
UnOp::Not(_) => {}
|
|
}
|
|
}
|
|
}
|
|
|
|
fn main() {
|
|
}
|