Skip to content

Commit 2d7de7f

Browse files
Merge #478
478: Update to 1.72.0 r=pietroalbini a=Veykril Co-authored-by: Lukas Wirth <[email protected]>
2 parents 1ae0f94 + a146c19 commit 2d7de7f

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

src/program-structure-and-compilation.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,11 @@ A :t:`construct` subject to :t:`attribute` :c:`cfg` where the related
215215
:t:`configuration predicate` evaluates to ``false`` is not considered part of a
216216
Rust program.
217217

218+
:dp:`fls_y56RGw3cbFex`
219+
A :t:`crate root module` subject to :t:`attribute` :c:`cfg` where the related
220+
:t:`configuration predicate` evaluates to ``false`` is considered empty except
221+
for all :t:`[attribute]s` up to the invoked :t:`attribute` :c:`cfg`.
222+
218223
:dp:`fls_h6b1fuw4nvi1`
219224
An :t:`attribute` :c:`cfg_attr` where the related :t:`configuration predicate`
220225
evaluates to ``false`` is not considered part of a Rust program.

src/types-and-traits.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2742,7 +2742,11 @@ A :t:`trait` is :t:`object safe` when:
27422742
It lacks :t:`[associated constant]s`, and
27432743

27442744
* :dp:`fls_kwo4cknx0yat`
2745-
Its :t:`[associated function]s` are :t:`object safe`.
2745+
Its :t:`[associated function]s` are :t:`object safe`, and
2746+
2747+
* :dp:`fls_vmLLL82EQasI`
2748+
Its :t:`[associated type alias]es` specify a :std:`core::marker::Sized`
2749+
:t:`[trait bound]` for :c:`Self` in a :t:`type bound predicate`.
27462750

27472751
:dp:`fls_uixekv82g2e5`
27482752
An :t:`associated function` is :t:`object safe` when it is either an

0 commit comments

Comments
 (0)