Skip to content

Commit 524cb77

Browse files
committed
distinguish between a type and its construction
1 parent ee3265f commit 524cb77

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

src/changelog.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,10 @@ Language changes in Rust 1.89.0
140140

141141
- `Extend temporary lifetime extension to also go through tuple struct and tuple variant constructors <https://github.com/rust-lang/rust/pull/140593>`_
142142

143-
- New paragraph: :p:`fls_rT33l0YwUGlK`
143+
- New paragraphs:
144+
145+
- :p:`fls_rT33l0YwUGlK`
146+
- :p:`fls_eeaJtK4w5gVK`
144147

145148
- `extern "C" functions on the wasm32-unknown-unknown target now have a standards compliant ABI <https://blog.rust-lang.org/2025/04/04/c-abi-changes-for-wasm32-unknown-unknown/>`_
146149

src/ownership-and-deconstruction.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -637,8 +637,13 @@ An :dt:`extending expression` is any of the following:
637637
The :t:`tail expression` of a :t:`block expression` that is an
638638
:t:`extending expression`.
639639

640+
* :dp:`fls_eeaJtK4w5gVK`
641+
The :t:`argument operand` to a :t:`tuple struct call expression`
642+
of an extending :t:`tuple struct`.
643+
640644
* :dp:`fls_rT33l0YwUGlK`
641-
The :t:`argument operand` to an extending :t:`tuple struct` or :t:`tuple enum variant`.
645+
The :t:`argument operand` to a :t:`tuple struct call expression`
646+
of an extending :t:`tuple enum variant`.
642647

643648
:dp:`fls_aq01wjpkxhq9`
644649
The :t:`drop scope` of the :t:`operand` of a :t:`borrow expression` that is an

0 commit comments

Comments
 (0)