We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 899aae4 commit 85ad773Copy full SHA for 85ad773
compiler/rustc_passes/src/dead.rs
@@ -37,7 +37,7 @@ fn should_explore(tcx: TyCtxt<'_>, hir_id: hir::HirId) -> bool {
37
)
38
}
39
40
-fn base_expr<'a>(mut expr: &'a hir::Expr<'a>) -> &'a hir::Expr<'a>
+fn base_expr<'a>(mut expr: &'a hir::Expr<'a>) -> &'a hir::Expr<'a> {
41
loop {
42
match expr.kind {
43
hir::ExprKind::Field(base, ..) => expr = base,
0 commit comments