Skip to content

Commit 31d40fc

Browse files
committed
Merge visit and mut_visit in a single file
1 parent f496659 commit 31d40fc

File tree

4 files changed

+3119
-3036
lines changed

4 files changed

+3119
-3036
lines changed

compiler/rustc_ast/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,17 +37,17 @@ pub mod attr;
3737
pub mod entry;
3838
pub mod expand;
3939
pub mod format;
40-
pub mod mut_visit;
4140
pub mod node_id;
4241
pub mod ptr;
4342
pub mod token;
4443
pub mod tokenstream;
45-
pub mod visit;
44+
pub mod visitors;
4645

4746
use rustc_data_structures::stable_hasher::{HashStable, StableHasher};
4847

4948
pub use self::ast::*;
5049
pub use self::ast_traits::{AstDeref, AstNodeWrapper, HasAttrs, HasNodeId, HasTokens};
50+
pub use self::visitors::{mut_visit, visit};
5151

5252
/// Requirements for a `StableHashingContext` to be used in this crate.
5353
/// This is a hack to allow using the `HashStable_Generic` derive macro

0 commit comments

Comments
 (0)