Skip to content

Commit b6e9d06

Browse files
committed
Allow some temporarily dead code.
I expect these two methods to come back very soon; noise of removing them to satisfy lint seems wrong.
1 parent cf337d1 commit b6e9d06

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

compiler/rustc_passes/src/dead.rs

+2
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ impl<'tcx> MarkSymbolVisitor<'tcx> {
134134
}
135135
}
136136

137+
#[allow(dead_code)] // FIXME(81658): should be used + lint reinstated after #83171 relands.
137138
fn handle_assign(&mut self, expr: &'tcx hir::Expr<'tcx>) {
138139
if self
139140
.typeck_results()
@@ -150,6 +151,7 @@ impl<'tcx> MarkSymbolVisitor<'tcx> {
150151
}
151152
}
152153

154+
#[allow(dead_code)] // FIXME(81658): should be used + lint reinstated after #83171 relands.
153155
fn check_for_self_assign(&mut self, assign: &'tcx hir::Expr<'tcx>) {
154156
fn check_for_self_assign_helper(
155157
tcx: TyCtxt<'tcx>,

0 commit comments

Comments
 (0)