Remove unnecessary Cache.*_did
fields
They can be obtained by accessing the `TyCtxt` where they are needed.
This commit is contained in:
parent
497ee321af
commit
44e6f2e90f
3 changed files with 19 additions and 29 deletions
|
@ -98,9 +98,6 @@ crate struct Cache {
|
|||
stripped_mod: bool,
|
||||
|
||||
crate search_index: Vec<IndexItem>,
|
||||
crate deref_trait_did: Option<DefId>,
|
||||
crate deref_mut_trait_did: Option<DefId>,
|
||||
crate owned_box_did: Option<DefId>,
|
||||
|
||||
// In rare case where a structure is defined in one module but implemented
|
||||
// in another, if the implementing module is parsed before defining module,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue