diff --git a/src/changelog.rst b/src/changelog.rst index 1bd0db60..dcd8b541 100644 --- a/src/changelog.rst +++ b/src/changelog.rst @@ -18,6 +18,21 @@ with the change that has been applied due to it. just the language changes that had an impact to the FLS. See the `release notes`_ for a full list of changes. +Language changes in Rust 1.90.0 +------------------------------- + +- `Split up the unknown_or_malformed_diagnostic_attributes lint `_ + + - No change: lints are not part of the FLS + +- `Allow constants whose final value has references to mutable/external memory, but reject such constants as patterns `_ + + - New paragraph: :p:`fls_wJ9f906BlBvg` + +- `Allow volatile access to non-Rust memory, including address 0 `_ + + - No change: lints are not part of the FLS + Language changes in Rust 1.89.0 ------------------------------- diff --git a/src/patterns.rst b/src/patterns.rst index d7b8f0f8..74674c96 100644 --- a/src/patterns.rst +++ b/src/patterns.rst @@ -370,6 +370,12 @@ When a :t:`path pattern` refers to an :t:`associated constant` or a :t:`constant`, the :t:`type` of the :t:`associated constant` or :t:`constant` shall be :t:`structurally equal`. +:dp:`fls_wJ9f906BlBvg` +When a :t:`path pattern` refers to an :t:`associated constant` or a +:t:`constant`, the :t:`constant` must not contain any references to +:t:`[mutable static]s`, :t:`[static]s` with :t:`interior mutability`, +or :t:`[external static]s`. + :dp:`fls_hF19K8sWU8FF` When the type of the :t:`path pattern` is of an :t:`enum type` or :t:`struct type`, then the :t:`enum type` or :t:`struct type` shall be subject diff --git a/version.rst b/version.rst index c2f931c7..928a28e3 100644 --- a/version.rst +++ b/version.rst @@ -1,4 +1,4 @@ .. SPDX-License-Identifier: MIT OR Apache-2.0 SPDX-FileCopyrightText: The Ferrocene Developers SPDX-FileCopyrightText: The Rust Project Developers -.. |spec_version| replace:: 1.88.0 +.. |spec_version| replace:: 1.90.0