match match match match match match match match match match
cargo devel CI / cargo CI (push) Successful in 1m27s
Details
cargo devel CI / cargo CI (push) Successful in 1m27s
Details
This commit is contained in:
parent
e270fbbdb5
commit
17b431d188
|
@ -1,16 +1,33 @@
|
|||
fn main() {
|
||||
let deep_type = Option::Some(Option::Some(Option::Some(())));
|
||||
match deep_type {
|
||||
Some(inner) => match inner {
|
||||
Some(inner) => match inner {
|
||||
Some(inner) => {
|
||||
println!("{:?}", inner); return;
|
||||
}
|
||||
None => {}
|
||||
},
|
||||
None => {}
|
||||
},
|
||||
None => {}
|
||||
let deep_type = Option::Some(Option::Some(Option::Some(Option::Some(Option::Some(
|
||||
Option::Some(Option::Some(Option::Some(1337))),
|
||||
)))));
|
||||
match match match match match match match match deep_type {
|
||||
Some(inner) => inner,
|
||||
None => unreachable!(),
|
||||
} {
|
||||
Some(inner) => inner,
|
||||
None => unreachable!(),
|
||||
} {
|
||||
Some(inner) => inner,
|
||||
None => unreachable!(),
|
||||
} {
|
||||
Some(inner) => inner,
|
||||
None => unreachable!(),
|
||||
} {
|
||||
Some(inner) => inner,
|
||||
None => unreachable!(),
|
||||
} {
|
||||
Some(inner) => inner,
|
||||
None => unreachable!(),
|
||||
} {
|
||||
Some(inner) => inner,
|
||||
None => unreachable!(),
|
||||
} {
|
||||
Some(inner) => {
|
||||
println!("{:?}", inner);
|
||||
return;
|
||||
}
|
||||
None => unreachable!(),
|
||||
}
|
||||
unreachable!()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue