1
Fork 0

Move visitor utils to rustc_ast_ir

This commit is contained in:
Jason Newcomb 2024-02-24 15:22:42 -05:00
parent c7beecf3e3
commit 5abfb3775d
12 changed files with 99 additions and 79 deletions

View file

@ -65,8 +65,7 @@
//! example coroutine inference, and possibly also HIR borrowck.
use crate::hir::*;
use rustc_ast::visit::VisitorResult;
use rustc_ast::{try_visit, visit_opt, walk_list};
use rustc_ast::visit::{try_visit, visit_opt, walk_list, VisitorResult};
use rustc_ast::{Attribute, Label};
use rustc_span::def_id::LocalDefId;
use rustc_span::symbol::{Ident, Symbol};