Fix up comment about OnDiskCache::foreign_expn_data.

This commit is contained in:
Michael Woerister 2021-07-21 13:38:29 +02:00
parent 2b60338ee9
commit 021c0520e3

View File

@ -86,8 +86,10 @@ pub struct OnDiskCache<'sess> {
expn_data: UnhashMap<ExpnHash, AbsoluteBytePos>, expn_data: UnhashMap<ExpnHash, AbsoluteBytePos>,
// Additional information used when decoding hygiene data. // Additional information used when decoding hygiene data.
hygiene_context: HygieneDecodeContext, hygiene_context: HygieneDecodeContext,
// FIXME(mw): Update this comment: // Maps `ExpnHash`es to their raw value from the *previous*
// Likewise for ExpnId. // compilation session. This is used as an initial 'guess' when
// we try to map an `ExpnHash` to its value in the current
// compilation session.
foreign_expn_data: UnhashMap<ExpnHash, u32>, foreign_expn_data: UnhashMap<ExpnHash, u32>,
} }