diff options
| author | bors <bors@rust-lang.org> | 2023-02-27 21:48:10 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-02-27 21:48:10 +0000 |
| commit | 6290ae92b2df2bfff09abdcb80a3aa483692bab6 (patch) | |
| tree | 8e49fd876e7847ee39461e51a00d197e4b1c5c70 /compiler/rustc_parse/src/errors.rs | |
| parent | 7281249a19a9755e9d889ee251ec323629caadab (diff) | |
| parent | cb51d2da7a590d230e8eae8e580ed8e8dee72bd6 (diff) | |
| download | rust-6290ae92b2df2bfff09abdcb80a3aa483692bab6.tar.gz rust-6290ae92b2df2bfff09abdcb80a3aa483692bab6.zip | |
Auto merge of #108487 - cjgillot:no-typeck-mir, r=oli-obk
Avoid invoking typeck from borrowck This PR attempts to reduce direct dependencies between typeck and MIR-related queries. The goal is to have all the information transit either through THIR or through dedicated queries that avoid depending on the whole `TypeckResults`. In a first commit, we store the type information that MIR building requires into THIR. This avoids edges between mir_built and typeck. In the second and third commit, we wrap informations around closures (upvars, kind origin and user-provided signature) to avoid borrowck depending on typeck information. There should be a single remaining borrowck -> typeck edge in the good path, due to inline consts.
Diffstat (limited to 'compiler/rustc_parse/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
