Skip to content

Commit 4fa66dc

Browse files
committed
Describe 1.84 changes
1 parent afd3b3a commit 4fa66dc

4 files changed

Lines changed: 46 additions & 5 deletions

File tree

src/changelog.rst

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,49 @@ 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.84.0
22+
-------------------------------
23+
24+
* `Allow \`#[deny]\` inside \`#[forbid]\` as a no-op <https://github.com/rust-lang/rust/pull/121560/>`_
25+
26+
* No change: Lints are not part of the FLS
27+
28+
* `Show a warning when \`-Ctarget-feature\` is used to toggle features that can lead to unsoundness due to ABI mismatches <https://github.com/rust-lang/rust/pull/129884>`_
29+
30+
* No change: `target-feature` is outside the scope of the Ferrocene qualification
31+
32+
* `Use the next-generation trait solver in coherence <https://github.com/rust-lang/rust/pull/130654>`_
33+
34+
* No change: the exact trait solver is not part of the FLS
35+
36+
* `Allow coercions to drop the principal of trait objects <https://github.com/rust-lang/rust/pull/131857>`_
37+
38+
* Changed paragraph: :p:`fls_SYnFJBhi0IWj`
39+
40+
* `Support \`/\` as the path separator for \`include!()\` in all cases on Windows <https://github.com/rust-lang/rust/pull/125205>`_
41+
42+
* No change: This past restriction of the `include` macro is not specified by the FLS
43+
44+
* `Taking a raw ref (\`raw (const|mut)\`) of a deref of a pointer (\`*ptr\`) is now safe <https://github.com/rust-lang/rust/pull/129248>`_
45+
46+
* Changed paragraph: :p:`fls_8i4jzksxlrw0`
47+
48+
* `Stabilize s390x inline assembly <https://github.com/rust-lang/rust/pull/131258>`_
49+
50+
* No change: These changes affect content that is informational
51+
52+
* `Stabilize Arm64EC inline assembly <https://github.com/rust-lang/rust/pull/131781>`_
53+
54+
* No change: These changes affect content that is informational
55+
56+
* `Lint against creating pointers to immediately dropped temporaries <https://github.com/rust-lang/rust/pull/128985>`_
57+
58+
* No change: Lints are not part of the FLS
59+
60+
* `Execute drop glue when unwinding in an \`extern "C"\` function <https://github.com/rust-lang/rust/pull/129582>`_
61+
62+
* No change: This restricted past behavior is specified by the FLS.
63+
2164
Language changes in Rust 1.83.0
2265
-------------------------------
2366

src/expressions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1033,7 +1033,7 @@ The :t:`dereference` is assignable when the :t:`dereference expression` is a
10331033
:t:`mutable place expression`.
10341034

10351035
:dp:`fls_8i4jzksxlrw0`
1036-
Dereferencing a :t:`raw pointer` shall require :t:`unsafe context`.
1036+
Dereferencing a :t:`raw pointer` shall require :t:`unsafe context` unless the :t:`dereference expression` is the :t:`operand` of a :t:`raw borrow expression`.
10371037

10381038
:dp:`fls_d68ddlse4zp`
10391039
If the context of a :t:`dereference expression` is an

src/types-and-traits.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2046,9 +2046,7 @@ occur when:
20462046
:t:`type`.
20472047

20482048
* :dp:`fls_SYnFJBhi0IWj`
2049-
The source :t:`type` is a :t:`trait object type` and the target :t:`type` is a
2050-
:t:`trait object type` with the same :t:`[trait bound]s` and additional
2051-
:t:`[auto trait]s`.
2049+
The source :t:`type` is a :t:`trait object type` and the target :t:`type` is a :t:`trait object type` with the same or no :t:`[principal trait bound]`, and the target :t:`type` has the same or less non-:t:`principal trait` :t:`[trait bound]s`.
20522050

20532051
:dp:`fls_iiiu2q7pym4p`
20542052
An :t:`unsized coercion` is a :t:`type coercion` that converts a :t:`sized type`

version.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
.. SPDX-License-Identifier: MIT OR Apache-2.0
22
SPDX-FileCopyrightText: The Ferrocene Developers
3-
.. |spec_version| replace:: 1.83.0
3+
.. |spec_version| replace:: 1.84.0

0 commit comments

Comments
 (0)