Closed
Description
The current scheme for "gensym"ing names via Symbol::gensym()
is rather clever and elegant but unfortunately it defies being hashed in a stable way as is needed for incremental compilation. So far, incr. comp. has erroneously treated differing Symbols
with equal string contents as being the same. Now situations are starting to arise where this leads to problems (#48923, #49065).
I consider this a somewhat urgent issue.
cc @rust-lang/compiler, esp. @petrochenkov & @jseyfried
Metadata
Metadata
Assignees
Labels
Area: Incremental compilationArea: All kinds of macros (custom derive, macro_rules!, proc macros, ..)Area: Name/path resolution done by `rustc_resolve` specificallyArea: Syntax extensionsCategory: This is a bug.Medium priorityRelevant to the compiler team, which will review and decide on the PR/issue.