Skip to content

Commit c8d843d

Browse files
committed
Describe Stabilize #[expect] for lints (RFC 2383)
1 parent 492e14b commit c8d843d

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/attributes.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,9 @@ The following :t:`[built-in attribute]s` are :dt:`[diagnostics attribute]s`:
223223
* :dp:`fls_29y8icoou1gx`
224224
:t:`Attribute` ``warn``.
225225

226+
* :dp:`fls_NrTL2FruARAv`
227+
:t:`Attribute` ``expect``.
228+
226229
:dp:`fls_3fxhz0olhbcy`
227230
The following :t:`[built-in attribute]s` are :dt:`[documentation attribute]s`:
228231

src/changelog.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ Language changes in Rust 1.81.0
3232
* New paragraph: :p:`fls_d4u3y82hdadc`
3333

3434
* `Stabilize `#[expect]` for lints (RFC 2383), <https://github.com/rust-lang/rust/pull/120924/>`_ like `#[allow]` with a warning if the lint is _not_ fulfilled.
35+
36+
* New paragraph: :p:`fls_NrTL2FruARAv`
37+
3538
* `Change method resolution to constrain hidden types instead of rejecting method candidates. <https://github.com/rust-lang/rust/pull/123962/>`_
3639
* `Bump `elided_lifetimes_in_associated_constant` to deny. <https://github.com/rust-lang/rust/pull/124211/>`_
3740
* `\`offset_from\`: always allow pointers to point to the same address. <https://github.com/rust-lang/rust/pull/124921/>`_

0 commit comments

Comments
 (0)