Store typed Passes
This commit is contained in:
parent
6be2857a6c
commit
00319519bb
7 changed files with 65 additions and 68 deletions
|
@ -133,6 +133,7 @@ pub struct Crate {
|
|||
// Only here so that they can be filtered through the rustdoc passes.
|
||||
pub external_traits: Rc<RefCell<FxHashMap<DefId, Trait>>>,
|
||||
pub masked_crates: FxHashSet<CrateNum>,
|
||||
pub collapsed: bool,
|
||||
}
|
||||
|
||||
impl Clean<Crate> for hir::Crate {
|
||||
|
@ -221,6 +222,7 @@ impl Clean<Crate> for hir::Crate {
|
|||
primitives,
|
||||
external_traits: cx.external_traits.clone(),
|
||||
masked_crates,
|
||||
collapsed: false,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue