rust/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

9549077a47/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
..
bootstrap Rollup merge of #139214 - bjorn3:edition_2024_rustfmt, r=compiler-errors 2025-04-02 13:10:42 +11:00
build_helper Add CI metadata to bootstrap metrics 2025-03-27 17:03:08 +01:00
ci Add CI metadata to bootstrap metrics 2025-03-27 17:03:08 +01:00
doc Rollup merge of #139212 - ehuss:update-mdbook, r=Mark-Simulacrum 2025-04-02 13:10:42 +11:00
etc Rollup merge of #139214 - bjorn3:edition_2024_rustfmt, r=compiler-errors 2025-04-02 13:10:42 +11:00
gcc@13cc824322 Update GCC submodule 2025-03-19 15:35:47 +01:00
librustdoc Rollup merge of #138913 - lolbinarycat:rustdoc-js-less-expect-error-part4, r=notriddle 2025-04-02 13:10:37 +11:00
llvm-project@acaea3d2bb Update to LLVM 20.1.1 2025-03-19 10:36:30 +01:00
rustc-std-workspace update rustc-std-workspace crates 2024-11-04 07:45:15 +01:00
rustdoc-json-types rustdoc: Use own logic to print #[repr(..)] attributes in JSON output. 2025-03-22 18:47:12 +00:00
tools Auto merge of #139018 - oli-obk:incremental-trait-impls, r=compiler-errors 2025-04-02 10:10:50 +00:00
README.md
stage0 bump stage0 2025-02-18 08:51:01 -08:00
version Bump to 1.88.0 2025-03-28 16:53:17 +00:00

This directory contains some source code for the Rust project, including:

  • The bootstrapping build system
  • Various submodules for tools, like cargo, tidy, etc.

For more information on how various parts of the compiler work, see the rustc dev guide.