diff options
| author | bors <bors@rust-lang.org> | 2025-04-02 10:10:50 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2025-04-02 10:10:50 +0000 |
| commit | 2e181e73938406555d4986960b7e919a324d2282 (patch) | |
| tree | ff20c9029f6869340d3c0fa72674236f2403f907 /compiler/rustc_codegen_llvm/src | |
| parent | 4304fa2955fb5f059337aa1130e6f19fc87784e9 (diff) | |
| parent | 777c7cdce0713762c5b6c278dae017ef0aefd8c8 (diff) | |
| download | rust-2e181e73938406555d4986960b7e919a324d2282.tar.gz rust-2e181e73938406555d4986960b7e919a324d2282.zip | |
Auto merge of #139018 - oli-obk:incremental-trait-impls, r=compiler-errors
Various local trait item iteration cleanups Adding a trait impl for `Foo` unconditionally affected all queries that are interested in a completely independent trait `Bar`. Perf has no effect on this. We probably don't have a good perf test for this tho. r? `@compiler-errors` I am unsure about https://github.com/rust-lang/rust/pull/139018/commits/9d05efb66f7b599eeacb5d2456f844fe4768e865 as it doesn't improve anything wrt incremental, because we still do all the checks for valid `Drop` impls, which subsequently will still invoke many queries and basically keep the depgraph the same. I want to do https://github.com/rust-lang/rust/blob/9549077a47099dc826039c051b528d1013740e6f/compiler/rustc_middle/src/ty/trait_def.rs#L141 but would leave that to a follow-up PR, this one changes enough things as it is
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
