Rollup merge of #94011 - est31:let_else, r=lcnr
Even more let_else adoptions Continuation of #89933, #91018, #91481, #93046, #93590.
This commit is contained in:
commit
637d8b89e8
26 changed files with 50 additions and 104 deletions
|
@ -61,7 +61,7 @@ impl rustc_query_system::dep_graph::DepKind for DepKind {
|
|||
OP: for<'a> FnOnce(TaskDepsRef<'a>),
|
||||
{
|
||||
ty::tls::with_context_opt(|icx| {
|
||||
let icx = if let Some(icx) = icx { icx } else { return };
|
||||
let Some(icx) = icx else { return };
|
||||
op(icx.task_deps)
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue