Skip to content

Commit

Permalink
Allow some temporarily dead code.
Browse files Browse the repository at this point in the history
I expect thi8s method to come back very soon; noise of removing them to satisfy lint seems wrong.
  • Loading branch information
pnkfelix committed Jul 22, 2021
1 parent eb3eb22 commit e541354
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions compiler/rustc_passes/src/dead.rs
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ impl<'tcx> MarkSymbolVisitor<'tcx> {
}
}

#[allow(dead_code)] // FIXME(81658): should be used + lint reinstated after #83171 relands.
fn handle_assign(&mut self, expr: &'tcx hir::Expr<'tcx>) {
if self
.typeck_results()
Expand Down

0 comments on commit e541354

Please sign in to comment.