]> git.lizzy.rs Git - rust.git/blobdiff - crates/hir_def/src/body.rs
Rename `CrateDefMap` to `DefMap`
[rust.git] / crates / hir_def / src / body.rs
index 344f0b6c090f7031f8462abae0754c7ff458e3f3..3b2dd0f6e4420cfec9f49d79da3e7935dcdb55bd 100644 (file)
@@ -29,7 +29,7 @@
     expr::{Expr, ExprId, Label, LabelId, Pat, PatId},
     item_scope::BuiltinShadowMode,
     item_scope::ItemScope,
-    nameres::CrateDefMap,
+    nameres::DefMap,
     path::{ModPath, Path},
     src::HasSource,
     AsMacroCall, DefWithBodyId, HasModule, Lookup, ModuleId,
@@ -45,7 +45,7 @@ pub(crate) struct CfgExpander {
 
 pub(crate) struct Expander {
     cfg_expander: CfgExpander,
-    crate_def_map: Arc<CrateDefMap>,
+    crate_def_map: Arc<DefMap>,
     current_file_id: HirFileId,
     ast_id_map: Arc<AstIdMap>,
     module: ModuleId,