rust/src
bors 4bc39f028d Auto merge of #120924 - xFrednet:rfc-2383-stabilization-party, r=Urgau,blyxyas
Let's `#[expect]` some lints: Stabilize `lint_reasons` (RFC 2383)

Let's give this another try! The [previous stabilization attempt](https://github.com/rust-lang/rust/pull/99063) was stalled by some unresolved questions. These have been discussed in a [lang team](https://github.com/rust-lang/lang-team/issues/191) meeting. The last open question, regarding the semantics of the `#[expect]` attribute was decided on in https://github.com/rust-lang/rust/issues/115980

I've just updated the [stabilization report](https://github.com/rust-lang/rust/issues/54503#issuecomment-1179563964) with the discussed questions and decisions. Luckily, the decision is inline with the current implementation.

This hopefully covers everything. Let's hope that the CI will be green like the spring.

fixes #115980
fixes #54503

---

r? `@wesleywiser`

Tacking Issue: https://github.com/rust-lang/rust/issues/54503
Stabilization Report: https://github.com/rust-lang/rust/issues/54503#issuecomment-1179563964
Documentation Update: https://github.com/rust-lang/reference/pull/1237

<!--
For Clippy:

changelog: [`allow_attributes`]: Is now available on stable, since the `lint_reasons` feature was stabilized
changelog: [`allow_attributes_without_reason`]: Is now available on stable, since the `lint_reasons` feature was stabilized
-->

---

Roses are red,
Violets are blue,
Let's expect lints,
With reason clues
2024-06-26 16:38:30 +00:00
..
bootstrap set on-broken-pipe in prepare_cargo_tool 2024-06-26 08:03:55 +03:00
ci Rollup merge of #126916 - ferrocene:hoverbear/riscv64gc-gnu-specify-linker, r=Kobzol 2024-06-25 21:33:42 +02:00
doc sudo CI=green && Review changes <3 2024-06-25 18:06:22 +02:00
etc Allow numbers in rustdoc tests commands 2024-06-24 11:10:18 +02:00
librustdoc Auto merge of #126761 - GuillaumeGomez:unsafe_extern_blocks, r=spastorino 2024-06-22 20:59:00 +00:00
llvm-project@5a5152f653 Update to LLVM 18.1.7 2024-06-06 08:37:27 +02:00
rustdoc-json-types Remove Type from rustdoc Const 2024-06-05 22:25:42 +01:00
tools Auto merge of #120924 - xFrednet:rfc-2383-stabilization-party, r=Urgau,blyxyas 2024-06-26 16:38:30 +00:00
README.md
stage0 bump stage0 compiler 2024-06-11 15:10:03 +02:00
version set version number to 1.81.0 2024-06-07 10:37:34 +02: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.