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:
parent
cf337d1119
commit
b6e9d069eb
1 changed files with 2 additions and 0 deletions
|
@ -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>,
|
||||||
|
|
Loading…
Add table
Reference in a new issue