Adopt let else in more places
This commit is contained in:
parent
b8c56fa8c3
commit
2ef8af6619
132 changed files with 539 additions and 881 deletions
|
@ -109,9 +109,8 @@ impl<'tcx> Inliner<'tcx> {
|
|||
continue;
|
||||
}
|
||||
|
||||
let callsite = match self.resolve_callsite(caller_body, bb, bb_data) {
|
||||
None => continue,
|
||||
Some(it) => it,
|
||||
let Some(callsite) = self.resolve_callsite(caller_body, bb, bb_data) else {
|
||||
continue;
|
||||
};
|
||||
|
||||
let span = trace_span!("process_blocks", %callsite.callee, ?bb);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue