File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments