Allow some temporarily dead code.
I expect these two methods to come back very soon; noise of removing them to satisfy lint seems wrong.
This commit is contained in:
@@ -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>) {
|
fn handle_assign(&mut self, expr: &'tcx hir::Expr<'tcx>) {
|
||||||
if self
|
if self
|
||||||
.typeck_results()
|
.typeck_results()
|
||||||
@@ -150,6 +151,7 @@ impl<'tcx> MarkSymbolVisitor<'tcx> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[allow(dead_code)] // FIXME(81658): should be used + lint reinstated after #83171 relands.
|
||||||
fn check_for_self_assign(&mut self, assign: &'tcx hir::Expr<'tcx>) {
|
fn check_for_self_assign(&mut self, assign: &'tcx hir::Expr<'tcx>) {
|
||||||
fn check_for_self_assign_helper(
|
fn check_for_self_assign_helper(
|
||||||
tcx: TyCtxt<'tcx>,
|
tcx: TyCtxt<'tcx>,
|
||||||
|
|||||||
Reference in New Issue
Block a user