Auto merge of #38537 - jseyfried:fix_rustdoc_ice, r=nrc
Fix ICE in rustdoc Fixes #38237. r? @nrc
This commit is contained in:
commit
9351c2c8e7
5 changed files with 58 additions and 0 deletions
|
|
@ -1006,6 +1006,7 @@ impl<'a, 'tcx> CrateMetadata {
|
|||
let filter = match filter.map(|def_id| self.reverse_translate_def_id(def_id)) {
|
||||
Some(Some(def_id)) => Some((def_id.krate.as_u32(), def_id.index)),
|
||||
Some(None) => return,
|
||||
None if self.proc_macros.is_some() => return,
|
||||
None => None,
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue