diff options
| author | Alan Egerton <eggyal@gmail.com> | 2023-02-09 12:56:33 +0000 |
|---|---|---|
| committer | Alan Egerton <eggyal@gmail.com> | 2023-02-13 10:24:45 +0000 |
| commit | 62846d7c99ca4e17be8c6867fc4b50d10c8a6ec1 (patch) | |
| tree | 864a1ed313967064ef4fc0afda1d3fc715db2b9d /compiler/rustc_middle/src/ty/mod.rs | |
| parent | 20081880ad2a98bbc8c8293f96c5b284d1584d86 (diff) | |
| download | rust-62846d7c99ca4e17be8c6867fc4b50d10c8a6ec1.tar.gz rust-62846d7c99ca4e17be8c6867fc4b50d10c8a6ec1.zip | |
Move folding & visiting traits to ir submodules
Diffstat (limited to 'compiler/rustc_middle/src/ty/mod.rs')
| -rw-r--r-- | compiler/rustc_middle/src/ty/mod.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/rustc_middle/src/ty/mod.rs b/compiler/rustc_middle/src/ty/mod.rs index fa2d3b89cf4..f378c6fd8ad 100644 --- a/compiler/rustc_middle/src/ty/mod.rs +++ b/compiler/rustc_middle/src/ty/mod.rs @@ -146,6 +146,10 @@ mod structural_impls; mod sty; mod typeck_results; +pub mod ir { + pub use super::{fold::ir::*, visit::ir::*}; +} + // Data types pub type RegisteredTools = FxHashSet<Ident>; |
