Skip to content

Commit 34830e8

Browse files
XAMPPRockypietroalbini
authored andcommitted
Update RELEASES.md
1 parent d66b095 commit 34830e8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

RELEASES.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ Libraries
2525
- [All arrays of any length now implement `TryFrom<Vec<T>>`.][76310]
2626
- [The `matches!` macro now supports having a trailing comma.][74880]
2727
- [`Vec<A>` now implements `PartialEq<[B]>` where `A: PartialEq<B>`.][74194]
28-
- [Nearly all of `Cell`'s panicking functions now use the `#[track_caller]`
29-
attribute.][77055]
28+
- [The `RefCell::{replace, replace_with, clone}` methods now all use `#[track_caller]`.][77055]
3029

3130
Stabilized APIs
3231
---------------
@@ -61,8 +60,9 @@ Rustdoc
6160

6261
Compatibility Notes
6362
-------------------
64-
- [`const fn`s are now implicitly promoted to `const`.][75502] Meaning that it
65-
will only warn if your code fails `const` evaluation, and not produce an error.
63+
- [Promotion of references to `'static` lifetime inside `const fn` now follows the
64+
same rules as inside a `fn` body.][75502] In particular, `&foo()` will not be
65+
promoted to `'static` lifetime any more inside `const fn`s.
6666
- [Associated type bindings on trait objects are now verified to meet the bounds
6767
declared on the trait when checking that they implement the trait.][27675]
6868
- [When trait bounds on associated types or opaque types are ambiguous, the

0 commit comments

Comments
 (0)