Add type to differentiate between fake and real DefId's
This commit is contained in:
parent
7a0f1781d0
commit
b6120bfb35
28 changed files with 336 additions and 268 deletions
|
@ -87,11 +87,6 @@ impl DefPathTable {
|
|||
hash
|
||||
}
|
||||
|
||||
/// Used by librustdoc for fake DefIds.
|
||||
pub fn num_def_ids(&self) -> usize {
|
||||
self.index_to_key.len()
|
||||
}
|
||||
|
||||
pub fn enumerated_keys_and_path_hashes(
|
||||
&self,
|
||||
) -> impl Iterator<Item = (DefIndex, &DefKey, &DefPathHash)> + '_ {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue