We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb65513 commit d6909e1Copy full SHA for d6909e1
src/librustdoc/json/mod.rs
@@ -211,6 +211,9 @@ impl<'tcx> FormatRenderer<'tcx> for JsonRenderer<'tcx> {
211
let mut index = (*self.index).clone().into_inner();
212
index.extend(self.get_trait_items(cache));
213
let len = index.len();
214
+ // This needs to be the default HashMap for compatibility with the public interface for
215
+ // rustdoc-json
216
+ #[allow(rustc::default_hash_types)]
217
let output = types::Crate {
218
root: types::Id(String::from("0:0")),
219
crate_version: krate.version.clone(),
0 commit comments