diff options
| author | Michael Goulet <michael@errs.io> | 2024-05-03 23:34:23 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-03 23:34:23 -0400 |
| commit | f8ab0a74ab4694caa8bfa764fa7ace8bc84c8278 (patch) | |
| tree | e6708b61ef6817ee0c51c21dc7fbecb933114b17 | |
| parent | 356b6c70abc488ddb2ae9349ce056e8a649fafe3 (diff) | |
| parent | 27353d4cccc928ceb51a0f111634cb663566c633 (diff) | |
| download | rust-f8ab0a74ab4694caa8bfa764fa7ace8bc84c8278.tar.gz rust-f8ab0a74ab4694caa8bfa764fa7ace8bc84c8278.zip | |
Rollup merge of #124656 - RalfJung:release-notes, r=Mark-Simulacrum
release notes 1.78: add link to interior-mut breaking change Cc https://github.com/rust-lang/rust/pull/123248#issuecomment-2092448205 r? ```@Mark-Simulacrum```
| -rw-r--r-- | RELEASES.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/RELEASES.md b/RELEASES.md index 104ea497ba4..3080f03c721 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -102,6 +102,10 @@ Compatibility Notes - [Change equality of higher ranked types to not rely on subtyping](https://github.com/rust-lang/rust/pull/118247) - [When called, additionally check bounds on normalized function return type](https://github.com/rust-lang/rust/pull/118882) - [Expand coverage for `arithmetic_overflow` lint](https://github.com/rust-lang/rust/pull/119432/) +- [Fix detection of potential interior mutability in `const` initializers](https://github.com/rust-lang/rust/issues/121250) + This code was accidentally accepted. The fix can break generic code that borrows a value of unknown type, + as there is currently no way to declare "this type has no interior mutability". In the future, stabilizing + the [`Freeze` trait](https://github.com/rust-lang/rust/issues/121675) will allow proper support for such code. <a id="1.78.0-Internal-Changes"></a> |
