mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-01 22:18:23 +03:00
724b85ef11
Previously the receiver text was taken directly from the AST, which in macros is missing trivia, leading to corruption (or just unintended replacement of user code). Now we upmap the range, and extract the original file text in it.