Skip to content

Commit

Permalink
Merge #478
Browse files Browse the repository at this point in the history
478: Update to 1.72.0 r=pietroalbini a=Veykril



Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
  • Loading branch information
bors-ferrocene[bot] and Veykril authored Jan 29, 2024
2 parents 1ae0f94 + a146c19 commit 2d7de7f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
5 changes: 5 additions & 0 deletions src/program-structure-and-compilation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,11 @@ A :t:`construct` subject to :t:`attribute` :c:`cfg` where the related
:t:`configuration predicate` evaluates to ``false`` is not considered part of a
Rust program.

:dp:`fls_y56RGw3cbFex`
A :t:`crate root module` subject to :t:`attribute` :c:`cfg` where the related
:t:`configuration predicate` evaluates to ``false`` is considered empty except
for all :t:`[attribute]s` up to the invoked :t:`attribute` :c:`cfg`.

:dp:`fls_h6b1fuw4nvi1`
An :t:`attribute` :c:`cfg_attr` where the related :t:`configuration predicate`
evaluates to ``false`` is not considered part of a Rust program.
Expand Down
6 changes: 5 additions & 1 deletion src/types-and-traits.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2742,7 +2742,11 @@ A :t:`trait` is :t:`object safe` when:
It lacks :t:`[associated constant]s`, and

* :dp:`fls_kwo4cknx0yat`
Its :t:`[associated function]s` are :t:`object safe`.
Its :t:`[associated function]s` are :t:`object safe`, and

* :dp:`fls_vmLLL82EQasI`
Its :t:`[associated type alias]es` specify a :std:`core::marker::Sized`
:t:`[trait bound]` for :c:`Self` in a :t:`type bound predicate`.

:dp:`fls_uixekv82g2e5`
An :t:`associated function` is :t:`object safe` when it is either an
Expand Down

0 comments on commit 2d7de7f

Please sign in to comment.