rust/src
Trevor Gross a20fe8ff23
Rollup merge of #139909 - oli-obk:or-patterns, r=BoxyUwU
implement or-patterns for pattern types

These are necessary to represent `NonZeroI32`, as the range for that is `..0 | 1..`. The `rustc_scalar_layout_range_*` attributes avoided this by just implementing wraparound and having a single `1..=-1` range effectively. See https://rust-lang.zulipchat.com/#narrow/channel/481660-t-lang.2Fpattern-types/topic/.60or.20pattern.60.20representation.20in.20type.20system/with/504217694 for some background discussion

cc https://github.com/rust-lang/rust/issues/123646

r? `@BoxyUwU`
2025-04-29 12:28:22 -04:00
..
bootstrap Make bootstrap git tests more self-contained 2025-04-28 14:54:52 +02:00
build_helper Remove git_repository field from GitConfig 2025-04-23 10:41:20 +02:00
ci Rollup merge of #140349 - marcoieni:codebuild-linux-large-runners, r=Kobzol 2025-04-28 13:30:47 +02:00
doc Rollup merge of #140022 - dianne:box-deref-pats, r=Nadrieril 2025-04-28 23:29:15 +00:00
etc Rollup merge of #139843 - thaliaarchi:editor-file-associations, r=Mark-Simulacrum 2025-04-19 19:30:47 +00:00
gcc@0ea98a1365 Update gcc submodule to 0ea98a1365b81f7488073512c850e8ee951a4afd 2025-04-25 09:27:10 +02:00
librustdoc Rollup merge of #140316 - nnethercote:BoxMarker, r=dtolnay 2025-04-28 13:30:45 +02: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 Update rustdoc-json-types FORMAT_VERSION to 45 2025-04-18 20:34:56 +02:00
tools Rollup merge of #139909 - oli-obk:or-patterns, r=BoxyUwU 2025-04-29 12:28:22 -04:00
README.md
stage0 Remove git_repository from the stage0 file 2025-04-23 10:41:20 +02: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.