mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
fb76025f2f
Do not modify resolver outputs during lowering Split from https://github.com/rust-lang/rust/pull/142830 I believe this achieves the same thing as https://github.com/rust-lang/rust/pull/153656 but in a much simpler way. This PR forces AST->HIR lowering to stop mutating resolver outputs. Instead, it manages a few override maps that only live during lowering and are dropped afterwards. r? @petrochenkov cc @aerooneqq