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 428bc14 commit 28f6cabCopy full SHA for 28f6cab
src/librustdoc/json/mod.rs
@@ -206,6 +206,9 @@ impl<'tcx> FormatRenderer<'tcx> for JsonRenderer<'tcx> {
206
let mut index = (*self.index).clone().into_inner();
207
index.extend(self.get_trait_items());
208
let len = index.len();
209
+ // This needs to be the default HashMap for compatibility with the public interface for
210
+ // rustdoc-json
211
+ #[allow(rustc::default_hash_types)]
212
let output = types::Crate {
213
root: types::Id(String::from("0:0")),
214
crate_version: krate.version.clone(),
0 commit comments