]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #105220 - oli-obk:feeding, r=cjgillot
authorbors <bors@rust-lang.org>
Tue, 6 Dec 2022 03:47:41 +0000 (03:47 +0000)
committerbors <bors@rust-lang.org>
Tue, 6 Dec 2022 03:47:41 +0000 (03:47 +0000)
feed resolver_for_lowering instead of storing it in a field

r? `@cjgillot`

opening this as

* a discussion for `no_hash` + `feedable` queries. I think we'll want those, but I don't quite understand why they are rejected beyond a double check of the stable hashes for situations where the query is fed but also read from incremental caches.
* and a discussion on removing all untracked fields from TyCtxt and setting it up so that they are fed queries instead

1  2 
compiler/rustc_interface/src/passes.rs
compiler/rustc_mir_transform/src/dump_mir.rs