Move visitor utils to rustc_ast_ir
This commit is contained in:
parent
c7beecf3e3
commit
5abfb3775d
12 changed files with 99 additions and 79 deletions
|
@ -6,7 +6,7 @@
|
|||
//!
|
||||
//! [rustc dev guide]: https://rustc-dev-guide.rust-lang.org/borrow_check.html
|
||||
|
||||
use rustc_ast::walk_list;
|
||||
use rustc_ast::visit::walk_list;
|
||||
use rustc_data_structures::fx::FxHashSet;
|
||||
use rustc_hir as hir;
|
||||
use rustc_hir::def_id::DefId;
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
//! the types in HIR to identify late-bound lifetimes and assign their Debruijn indices. This file
|
||||
//! is also responsible for assigning their semantics to implicit lifetimes in trait objects.
|
||||
|
||||
use rustc_ast::walk_list;
|
||||
use rustc_ast::visit::walk_list;
|
||||
use rustc_data_structures::fx::{FxHashSet, FxIndexMap, FxIndexSet};
|
||||
use rustc_errors::{codes::*, struct_span_code_err};
|
||||
use rustc_hir as hir;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue