rust/src
Nicholas Nethercote 872ac73f59 Move visit_id calls.
In `walk_item`, we call `visit_id` on every item kind. For most of them
we do it directly in `walk_item`. But for `ItemKind::Mod`,
`ItemKind::Enum`, and `ItemKind::Use` we instead do it in the `walk_*`
function called (via the `visit_*` function) from `walk_item`.

I can see no reason for this inconsistency, so this commit makes those
three cases like all the other cases, moving the `visit_id` calls into
`walk_item`. This also avoids the need for a few `HirId` arguments.
2025-03-07 19:35:41 +11:00
..
bootstrap Auto merge of #138039 - onur-ozkan:handle-forced-compiler-on-tools, r=jieyouxu 2025-03-06 17:20:24 +00:00
build_helper Record bootstrap step durations into GitHub summary in citool 2025-03-04 12:31:53 +01:00
ci Rollup merge of #137798 - marcoieni:ubuntu-24-large-runner-arm, r=Kobzol 2025-03-06 12:22:17 -05:00
doc Rollup merge of #137868 - taiki-e:powerpcspe-doc, r=workingjubilee 2025-03-06 12:22:24 -05:00
etc Rollup merge of #134063 - tgross35:dec2flt-refactoring, r=Noratrieb 2025-03-05 21:46:31 +08:00
gcc@48664a6cab Update gcc submodule 2025-02-26 09:23:52 +01:00
librustdoc Move visit_id calls. 2025-03-07 19:35:41 +11:00
llvm-project@1c3bb96fdb Update to LLVM 20 rc 3 2025-02-27 09:34:19 +01:00
rustc-std-workspace update rustc-std-workspace crates 2024-11-04 07:45:15 +01:00
rustdoc-json-types Fix rustdoc and clippy 2025-02-24 14:31:19 +01:00
tools Auto merge of #138114 - compiler-errors:rollup-7xr4b69, r=compiler-errors 2025-03-06 23:39:38 +00:00
README.md
stage0 bump stage0 2025-02-18 08:51:01 -08:00
version Bump to version 1.87.0 2025-02-14 09:55:45 -08: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.