rust/src
Esteban Küber 1bd7934d89 Point at span within local macros even when error happens in nested external macro
```
error[E0308]: mismatched types
  --> $DIR/macro-span-caller-replacement.rs:5:17
   |
LL |             s = format!("{arg}");
   |                 ^^^^^^^^^^^^^^^^ expected `&str`, found `String`
...
LL |     macro_with_format!();
   |     -------------------- in this macro invocation
   |
   = note: this error originates in the macro `format` which comes from the expansion of the macro `macro_with_format` (in Nightly builds, run with -Z macro-backtrace for more info)
```
2025-12-10 19:27:40 +00:00
..
bootstrap Rollup merge of #149458 - GuillaumeGomez:clippy-cg_gcc, r=kobzol 2025-12-10 07:54:19 +01:00
build_helper Use yarn instead of npm in tidy 2025-11-17 10:58:13 +02:00
ci Rollup merge of #149605 - Kobzol:unshalllow-beta, r=cuviper 2025-12-04 16:07:55 +01:00
doc Rollup merge of #149720 - jtracey:patch-1, r=notriddle 2025-12-09 06:17:23 +01:00
etc add a missing comma to default r-a settings file 2025-11-29 21:31:43 +00:00
gcc@0081ca6631 Update GCC submodule 2025-11-26 20:11:43 +01:00
librustdoc add TyCtxt everywhere replacing nothing or passed sessions 2025-12-08 00:24:28 +01: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 rustdoc-json: add rlib path to ExternalCrate to enable robust crate resolution 2025-11-21 09:22:59 +00:00
tools Point at span within local macros even when error happens in nested external macro 2025-12-10 19:27:40 +00:00
README.md
stage0 Change default branch to main 2025-11-10 10:21:34 +01:00
version bump version number 2025-12-05 19:33:24 +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.