diff options
| author | Noah Lev <camelidcamel@gmail.com> | 2021-08-21 20:58:23 -0700 |
|---|---|---|
| committer | Noah Lev <camelidcamel@gmail.com> | 2021-09-09 19:17:38 -0700 |
| commit | 44e6f2e90fa050c490c2d79a3c65866cb5be3b34 (patch) | |
| tree | c6aefdfbc14d4b97335e3245b61b84b90688076a /src/librustdoc/formats/cache.rs | |
| parent | 497ee321af3b8496eaccd7af7b437f18bab81abf (diff) | |
| download | rust-44e6f2e90fa050c490c2d79a3c65866cb5be3b34.tar.gz rust-44e6f2e90fa050c490c2d79a3c65866cb5be3b34.zip | |
Remove unnecessary `Cache.*_did` fields
They can be obtained by accessing the `TyCtxt` where they are needed.
Diffstat (limited to 'src/librustdoc/formats/cache.rs')
| -rw-r--r-- | src/librustdoc/formats/cache.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/librustdoc/formats/cache.rs b/src/librustdoc/formats/cache.rs index 1830909d944..a88f82dadda 100644 --- a/src/librustdoc/formats/cache.rs +++ b/src/librustdoc/formats/cache.rs @@ -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, |
