about summary refs log tree commit diff
path: root/compiler/rustc_errors/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-04-10 17:59:27 +0000
committerbors <bors@rust-lang.org>2022-04-10 17:59:27 +0000
commit027a232755fa9728e9699337267f6675dfd0a8ba (patch)
tree9dbdc83bbb585766936912f74dee789f19ef1daa /compiler/rustc_errors/src
parent18f32b73bdb3833c18c73fe3062bde8e1721ccca (diff)
parentbbacfcb6c4b25ad4741ae9cf32db342f7e612b29 (diff)
downloadrust-027a232755fa9728e9699337267f6675dfd0a8ba.tar.gz
rust-027a232755fa9728e9699337267f6675dfd0a8ba.zip
Auto merge of #95487 - cjgillot:menhir, r=oli-obk
Avoid accessing HIR from MIR passes

`hir_owner_nodes` contains a lot of information, and the query result is typically dirty. This forces dependent queries to be re-executed needlessly.

This PR refactors some accesses to HIR to go through more targeted queries that yield the same result.

Based on https://github.com/rust-lang/rust/pull/95435 and https://github.com/rust-lang/rust/pull/95436
Diffstat (limited to 'compiler/rustc_errors/src')
0 files changed, 0 insertions, 0 deletions