diff options
| author | Matthias Krüger <476013+matthiaskrgr@users.noreply.github.com> | 2025-07-02 19:28:08 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-02 19:28:08 +0200 |
| commit | 7fa00aa75f5bf94754bcfd39f2ad781262be4768 (patch) | |
| tree | d03e1d2a36e80691a2f2d2e310259c675fe15587 /compiler/rustc_parse/src/errors.rs | |
| parent | df7cac9e03f0d5f2a5351be213cbbf4ca1ceffcb (diff) | |
| parent | 08278eb1d54408ac4c4cc08b741076ce745661f6 (diff) | |
| download | rust-7fa00aa75f5bf94754bcfd39f2ad781262be4768.tar.gz rust-7fa00aa75f5bf94754bcfd39f2ad781262be4768.zip | |
Rollup merge of #143258 - compiler-errors:disambiguator-state, r=oli-obk
Don't recompute `DisambiguatorState` for every RPITIT in trait definition The `associated_type_for_impl_trait_in_trait` currently needs to rerun the `RPITVisitor` for every RPITIT to compute its disambiguator. Instead of synthesizing all of the RPITITs def ids one at a time in different queries, just synthesize them inside of the `associated_types_for_impl_traits_in_associated_fn` query. There we can just share the same `DisambiguatorState` for all the RPITITs in one function signature. r? ``````@Zoxc`````` or ``````@oli-obk`````` cc rust-lang/rust#140453
Diffstat (limited to 'compiler/rustc_parse/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
