Fix build after rebase
This commit is contained in:
parent
d840d0c62e
commit
76f6b57125
1 changed files with 1 additions and 9 deletions
|
@ -3,7 +3,7 @@ use super::{
|
||||||
NodeInfo, PostOrderId, TrackedValue, TrackedValueIndex,
|
NodeInfo, PostOrderId, TrackedValue, TrackedValueIndex,
|
||||||
};
|
};
|
||||||
use hir::{
|
use hir::{
|
||||||
intravisit::{self, NestedVisitorMap, Visitor},
|
intravisit::{self, Visitor},
|
||||||
Body, Expr, ExprKind, Guard, HirId,
|
Body, Expr, ExprKind, Guard, HirId,
|
||||||
};
|
};
|
||||||
use rustc_data_structures::fx::FxHashMap;
|
use rustc_data_structures::fx::FxHashMap;
|
||||||
|
@ -189,7 +189,6 @@ impl<'a, 'tcx> DropRangeVisitor<'a, 'tcx> {
|
||||||
| ExprKind::Continue(..)
|
| ExprKind::Continue(..)
|
||||||
| ExprKind::Ret(..)
|
| ExprKind::Ret(..)
|
||||||
| ExprKind::InlineAsm(..)
|
| ExprKind::InlineAsm(..)
|
||||||
| ExprKind::LlvmInlineAsm(..)
|
|
||||||
| ExprKind::Struct(..)
|
| ExprKind::Struct(..)
|
||||||
| ExprKind::Repeat(..)
|
| ExprKind::Repeat(..)
|
||||||
| ExprKind::Yield(..)
|
| ExprKind::Yield(..)
|
||||||
|
@ -213,12 +212,6 @@ impl<'a, 'tcx> DropRangeVisitor<'a, 'tcx> {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a, 'tcx> Visitor<'tcx> for DropRangeVisitor<'a, 'tcx> {
|
impl<'a, 'tcx> Visitor<'tcx> for DropRangeVisitor<'a, 'tcx> {
|
||||||
type Map = intravisit::ErasedMap<'tcx>;
|
|
||||||
|
|
||||||
fn nested_visit_map(&mut self) -> NestedVisitorMap<Self::Map> {
|
|
||||||
NestedVisitorMap::None
|
|
||||||
}
|
|
||||||
|
|
||||||
fn visit_expr(&mut self, expr: &'tcx Expr<'tcx>) {
|
fn visit_expr(&mut self, expr: &'tcx Expr<'tcx>) {
|
||||||
let mut reinit = None;
|
let mut reinit = None;
|
||||||
match expr.kind {
|
match expr.kind {
|
||||||
|
@ -378,7 +371,6 @@ impl<'a, 'tcx> Visitor<'tcx> for DropRangeVisitor<'a, 'tcx> {
|
||||||
| ExprKind::InlineAsm(..)
|
| ExprKind::InlineAsm(..)
|
||||||
| ExprKind::Let(..)
|
| ExprKind::Let(..)
|
||||||
| ExprKind::Lit(..)
|
| ExprKind::Lit(..)
|
||||||
| ExprKind::LlvmInlineAsm(..)
|
|
||||||
| ExprKind::Path(..)
|
| ExprKind::Path(..)
|
||||||
| ExprKind::Repeat(..)
|
| ExprKind::Repeat(..)
|
||||||
| ExprKind::Ret(..)
|
| ExprKind::Ret(..)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue