Files
rust/compiler/rustc_mir_transform/src
bors ae9173d7dd 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
2025-04-02 10:10:50 +00:00
..
2025-02-08 22:12:13 +00:00
2025-02-08 22:12:13 +00:00
2025-02-08 22:12:13 +00:00
2025-02-22 00:13:19 +00:00
2025-02-18 12:52:56 +11:00
2025-01-11 11:34:01 +00:00
2025-02-03 12:53:57 -08:00
2025-02-22 00:13:19 +00:00
2025-02-08 22:12:13 +00:00
2025-03-18 17:35:26 +00:00
2025-02-22 00:13:19 +00:00
2025-02-22 00:13:19 +00:00