rust/src
bors 6159a44067 Auto merge of #148434 - oli-obk:inherent-const-impl, r=fee1-dead
Inherent const impl

Some constifications are annoying because we need to repeat `T: Trait` bounds from an impl block on the individual constified `const fn`s as `T: [const] Trait`. We've brainstormed solutions before, and one would be to have separate `const impl` blocks or sth. However the final syntax will look, I decided to just impl this syntax and either have sth nice on nightly to work with or at least move the discussion along.

Also interacts with the discussion around `impl const Trait for Type` vs `const impl Trait for Type`, as we may want to use the latter to keep inherent and trait impls in sync (unless we come up with even another scheme).

* [ ] rustdoc + tests
* [ ] macro stability /regression tests

r? `@fee1-dead`

cc `@traviscross` `@rust-lang/project-const-traits`
2025-11-19 02:23:56 +00:00
..
bootstrap Build with -Zannotate-moves by default 2025-11-17 11:01:21 -08:00
build_helper Use yarn instead of npm in tidy 2025-11-17 10:58:13 +02:00
ci Auto merge of #148763 - yotamofek:use-yarn, r=Kobzol 2025-11-17 11:04:04 +00:00
doc Rollup merge of #149031 - rustbot:docs-update, r=ehuss 2025-11-17 21:48:00 +01:00
etc Auto merge of #148685 - Zalathar:lldb-python, r=jieyouxu 2025-11-10 05:45:10 +00:00
gcc@28b84db392 Update GCC submodule 2025-11-04 16:22:37 +01:00
librustdoc Update npm package, remove another unused one, and fix some typing errors that started popping when we moved to yarn 2025-11-17 10:58:18 +02:00
llvm-project@16b5ac8b0a Update LLVM to 21.1.5 2025-11-08 10:21:22 +08:00
rustc-std-workspace Generalize branch references to HEAD 2025-11-02 11:15:55 +01:00
rustdoc-json-types Add new doc(attribute = "...") attribute 2025-08-28 15:56:29 +02:00
tools Auto merge of #148434 - oli-obk:inherent-const-impl, r=fee1-dead 2025-11-19 02:23:56 +00:00
README.md
stage0 Change default branch to main 2025-11-10 10:21:34 +01:00
version Bump the version number to 1.93.0 2025-10-24 11:12:06 -07: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.