rust/src
Dylan DPC 27e2d811e6
Rollup merge of #94457 - jhpratt:stabilize-derive_default_enum, r=davidtwco
Stabilize `derive_default_enum`

This stabilizes `#![feature(derive_default_enum)]`, as proposed in [RFC 3107](https://github.com/rust-lang/rfcs/pull/3107) and tracked in #87517. In short, it permits you to `#[derive(Default)]` on `enum`s, indicating what the default should be by placing a `#[default]` attribute on the desired variant (which must be a unit variant in the interest of forward compatibility).

```````@rustbot``````` label +S-waiting-on-review +T-lang
2022-04-15 20:50:43 +02:00
..
bootstrap Rollup merge of #95885 - gimbles:patch-1, r=Mark-Simulacrum 2022-04-13 17:35:32 +02:00
ci CI: do not compile libcore twice when performing LLVM PGO 2022-04-11 10:05:05 +02:00
doc Rollup merge of #93217 - willcrichton:example-analyzer, r=GuillaumeGomez 2022-04-13 17:35:32 +02:00
etc pre-push.sh: Use python3 if python is not found 2022-04-11 12:02:40 -07:00
librustdoc Auto merge of #95968 - davidtwco:translation-lazy-fallback, r=oli-obk 2022-04-13 21:04:19 +00:00
llvm-project@9168e236c5 Update to LLVM 14.0.0 final 2022-03-23 11:42:13 -07:00
rustdoc-json-types rustdoc-json-types: implementors -> implementations 2022-03-14 00:05:11 +00:00
test Rollup merge of #94457 - jhpratt:stabilize-derive_default_enum, r=davidtwco 2022-04-15 20:50:43 +02:00
tools clippy: Update full path to CString 2022-04-15 16:52:58 +03:00
README.md
stage0.json bump stage0 to the latest beta 2022-04-05 22:24:32 +02:00
version bump version to 1.62.0 2022-04-04 09:21:03 +02:00

This directory contains the source code of the rust project, including:

  • The test suite
  • The bootstrapping build system
  • Various submodules for tools, like rustdoc, rls, etc.

For more information on how various parts of the compiler work, see the rustc dev guide.