rust/src
Chayim Refael Friedman 2e7158b458 Refactor path lowering
And add a new diagnostic for non-`Fn` parenthesized generic args.

Path lowering started to look like a mess, with each function carrying additional parameters for the diagnostic callback (since paths can occur both in type and in expression/pattern position, and their diagnostic handling is different) and the segment index, for the diagnostics report. So I refactored it from stateless functions on `TyLoweringContext` into stateful struct, `PathLoweringContext`, that tracks the process of lowering a path from resolution til assoc types selection.
2025-02-16 19:44:50 +02:00
..
bootstrap Rollup merge of #135616 - marcoieni:split-i686-msvc-job, r=Kobzol 2025-01-19 01:18:53 +01:00
build_helper apply a workaround fix for the release blocker issue 2025-01-07 09:12:54 +03:00
ci Rollup merge of #135640 - Gelbpunkt:drop-mips-glibc-patches, r=Kobzol 2025-01-19 01:18:55 +01:00
doc Fix dev guide docs for error-pattern 2025-01-19 11:36:41 +01:00
etc Revert "fix missing rustfmt and clippy for msi" 2025-01-08 14:44:01 +01:00
gcc@fd3498bff0 Update GCC version 2024-09-06 16:01:46 +02:00
librustdoc Remove unused item-row CSS class 2025-01-19 11:47:32 +01:00
llvm-project@7e8c93c87c Update to LLVM 19.1.7 2025-01-14 14:46:09 +01:00
rustc-std-workspace update rustc-std-workspace crates 2024-11-04 07:45:15 +01:00
rustdoc-json-types Made Path::name only have item name rather than full name 2025-01-14 06:03:43 +00:00
tools Refactor path lowering 2025-02-16 19:44:50 +02:00
README.md
stage0 bump stage0 2025-01-08 20:03:28 +01:00
version bump version 2025-01-03 10:36:06 +01: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.