]> git.lizzy.rs Git - rust.git/blobdiff - RELEASES.md
Mention fn coercion rules (needs to be expanded)
[rust.git] / RELEASES.md
index 6be38ecca2bc7f0deeb5107883dd71dea2e7921e..a63d4e8a043c606e4384eb5b7f6d6bc581802de9 100644 (file)
@@ -71,6 +71,14 @@ These APIs are now stable in const contexts:
 Compatibility Notes
 -------------------
 
+- [The layout of `repr(Rust)` types now groups m\*2^n-sized fields with
+  equivalently aligned ones.](https://github.com/rust-lang/rust/pull/102750/)
+  This is intended to be an optimization, but it is also known to increase type
+  sizes in a few cases for the placement of enum tags. As a reminder, the layout
+  of `repr(Rust)` types is an implementation detail, subject to change.
+- [0.5 now rounds to 0 when formatted to 0 decimal places.](https://github.com/rust-lang/rust/pull/102935/)
+  This makes it consistent with the rest of floating point formatting that
+  rounds ties toward even digits.
 - [Chains of `&&` and `||` will now drop temporaries from their sub-expressions in
   evaluation order, left-to-right.](https://github.com/rust-lang/rust/pull/103293/)
   Previously, it was "twisted" such that the _first_ expression dropped its