diff options
Diffstat (limited to 'src/librustdoc/core.rs')
| -rw-r--r-- | src/librustdoc/core.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/librustdoc/core.rs b/src/librustdoc/core.rs index 514eb6ea843..5393e395bbe 100644 --- a/src/librustdoc/core.rs +++ b/src/librustdoc/core.rs @@ -189,7 +189,7 @@ pub fn run_core(search_paths: SearchPaths, // to the map from defid -> nodeid let access_levels = AccessLevels { map: access_levels.map.into_iter() - .map(|(k, v)| (tcx.map.local_def_id(k), v)) + .map(|(k, v)| (tcx.hir.local_def_id(k), v)) .collect() }; @@ -204,11 +204,11 @@ pub fn run_core(search_paths: SearchPaths, export_map: export_map, hir_ty_to_ty: hir_ty_to_ty, }; - debug!("crate: {:?}", tcx.map.krate()); + debug!("crate: {:?}", tcx.hir.krate()); let krate = { let mut v = RustdocVisitor::new(&ctxt); - v.visit(tcx.map.krate()); + v.visit(tcx.hir.krate()); v.clean(&ctxt) }; |
