]> git.lizzy.rs Git - rust.git/blobdiff - src/librustdoc/json/mod.rs
Rollup merge of #107109 - est31:thin_box_link, r=Mark-Simulacrum
[rust.git] / src / librustdoc / json / mod.rs
index 1196f944faad2d26981b806023fe739cfaacc953..5adc0d2a40e41bf2944e0aa079c169decf4fb253 100644 (file)
@@ -13,8 +13,8 @@
 use std::path::PathBuf;
 use std::rc::Rc;
 
-use rustc_data_structures::fx::{FxHashMap, FxHashSet};
-use rustc_hir::def_id::DefId;
+use rustc_data_structures::fx::FxHashMap;
+use rustc_hir::def_id::{DefId, DefIdSet};
 use rustc_middle::ty::TyCtxt;
 use rustc_session::Session;
 use rustc_span::def_id::LOCAL_CRATE;
@@ -40,7 +40,7 @@ pub(crate) struct JsonRenderer<'tcx> {
     /// The directory where the blob will be written to.
     out_path: PathBuf,
     cache: Rc<Cache>,
-    imported_items: FxHashSet<DefId>,
+    imported_items: DefIdSet,
 }
 
 impl<'tcx> JsonRenderer<'tcx> {