rust/src
Jakub Beránek 1b8dbda9c7
Rollup merge of #139456 - calebcartwright:style-let-chains-final, r=joshtriplett
style guide: add let-chain rules

Reopens #110568

refs #53667 and I suppose #132833 as well

This reflects the style rules that the style team had already agreed upon back in 2023, with the addition of literals in the lhs being permissible for single line formatting, and the removal of unnecessary language/example snippets around non-`&&` operators that was a small hiccup in the original PR.

It also reflects current formatting behavior implemented in rustfmt (though note that the adjustment to include literals has been implemented & merged, but is still pending a sync to nightly)
2025-04-07 08:23:35 +02:00
..
bootstrap Rollup merge of #139367 - GuillaumeGomez:proc-macro-values, r=Urgau 2025-04-06 18:08:10 +02:00
build_helper Add CI metadata to bootstrap metrics 2025-03-27 17:03:08 +01:00
ci Update the minimum external LLVM to 19 2025-04-05 11:44:38 -07:00
doc doc(style): add let-chain rules 2025-04-06 19:07:56 -05: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 #139274 - lolbinarycat:rustdoc-js-less-expect-error-part5, r=notriddle 2025-04-05 13:18:16 +11:00
llvm-project@a9865ceca0 Update to LLVM 20.1.2 2025-04-02 20:19:43 +08: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 #136077 - rust-lang:cargo_update, r=clubby789 2025-04-06 19:57:47 +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.