Skip to content

Commit 021c052

Browse files
Fix up comment about OnDiskCache::foreign_expn_data.
1 parent 2b60338 commit 021c052

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

compiler/rustc_query_impl/src/on_disk_cache.rs

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

0 commit comments

Comments
 (0)