Skip to content

Commit e541354

Browse files
committed
Allow some temporarily dead code.
I expect thi8s method to come back very soon; noise of removing them to satisfy lint seems wrong.
1 parent eb3eb22 commit e541354

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler/rustc_passes/src/dead.rs

+1
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()

0 commit comments

Comments
 (0)