Re-format let-else per rustfmt update
This commit is contained in:
parent
67b0cfc761
commit
cc907f80b9
162 changed files with 1404 additions and 947 deletions
|
@ -1763,7 +1763,9 @@ fn check_suspend_tys<'tcx>(tcx: TyCtxt<'tcx>, layout: &GeneratorLayout<'tcx>, bo
|
|||
debug!(?decl);
|
||||
|
||||
if !decl.ignore_for_traits && linted_tys.insert(decl.ty) {
|
||||
let Some(hir_id) = decl.source_info.scope.lint_root(&body.source_scopes) else { continue };
|
||||
let Some(hir_id) = decl.source_info.scope.lint_root(&body.source_scopes) else {
|
||||
continue;
|
||||
};
|
||||
|
||||
check_must_not_suspend_ty(
|
||||
tcx,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue