File tree 1 file changed +4
-0
lines changed
1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -102,6 +102,10 @@ Compatibility Notes
102
102
- [Change equality of higher ranked types to not rely on subtyping](https://github.com/rust-lang/rust/pull/118247)
103
103
- [When called, additionally check bounds on normalized function return type](https://github.com/rust-lang/rust/pull/118882)
104
104
- [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.
105
109
106
110
<a id="1.78.0-Internal-Changes"></a>
107
111
You can’t perform that action at this time.
0 commit comments