Skip to content

Commit 7e1db9b

Browse files
authored
Unrolled build for rust-lang#124656
Rollup merge of rust-lang#124656 - RalfJung:release-notes, r=Mark-Simulacrum release notes 1.78: add link to interior-mut breaking change Cc rust-lang#123248 (comment) r? ```@Mark-Simulacrum```
2 parents 2c4bf24 + 27353d4 commit 7e1db9b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

RELEASES.md

+4
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,10 @@ Compatibility Notes
102102
- [Change equality of higher ranked types to not rely on subtyping](https://github.com/rust-lang/rust/pull/118247)
103103
- [When called, additionally check bounds on normalized function return type](https://github.com/rust-lang/rust/pull/118882)
104104
- [Expand coverage for `arithmetic_overflow` lint](https://github.com/rust-lang/rust/pull/119432/)
105+
- [Fix detection of potential interior mutability in `const` initializers](https://github.com/rust-lang/rust/issues/121250)
106+
This code was accidentally accepted. The fix can break generic code that borrows a value of unknown type,
107+
as there is currently no way to declare "this type has no interior mutability". In the future, stabilizing
108+
the [`Freeze` trait](https://github.com/rust-lang/rust/issues/121675) will allow proper support for such code.
105109

106110
<a id="1.78.0-Internal-Changes"></a>
107111

0 commit comments

Comments
 (0)