Skip to content

Commit 6cecf63

Browse files
committed
document Rust 1.90 changes
1 parent ffab2d2 commit 6cecf63

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

src/changelog.rst

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,21 @@ with the change that has been applied due to it.
1818
just the language changes that had an impact to the FLS. See the `release
1919
notes`_ for a full list of changes.
2020

21+
Language changes in Rust 1.90.0
22+
-------------------------------
23+
24+
- `Split up the unknown_or_malformed_diagnostic_attributes lint <https://github.com/rust-lang/rust/pull/140717>`_
25+
26+
- No change: lints are not part of the FLS
27+
28+
- `Allow constants whose final value has references to mutable/external memory, but reject such constants as patterns <https://github.com/rust-lang/rust/pull/140942>`_
29+
30+
- New paragraph: :p:`fls_wJ9f906BlBvg`
31+
32+
- `Allow volatile access to non-Rust memory, including address 0 <https://github.com/rust-lang/rust/pull/141260>`_
33+
34+
- No change: lints are not part of the FLS
35+
2136
Language changes in Rust 1.89.0
2237
-------------------------------
2338

src/patterns.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -370,6 +370,12 @@ When a :t:`path pattern` refers to an :t:`associated constant` or a
370370
:t:`constant`, the :t:`type` of the :t:`associated constant` or :t:`constant`
371371
shall be :t:`structurally equal`.
372372

373+
:dp:`fls_wJ9f906BlBvg`
374+
When a :t:`path pattern` refers to an :t:`associated constant` or a
375+
:t:`constant`, the :t:`constant` must not contain any references to
376+
:t:`[mutable static]s`, :t:`[static]s` with :t:`interior mutability`,
377+
or :t:`[external static]s`.
378+
373379
:dp:`fls_hF19K8sWU8FF`
374380
When the type of the :t:`path pattern` is of an :t:`enum type` or
375381
:t:`struct type`, then the :t:`enum type` or :t:`struct type` shall be subject

0 commit comments

Comments
 (0)