Skip to content

Commit 315d567

Browse files
authored
Update RELEASES.md
1 parent 433115c commit 315d567

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

RELEASES.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ Language
1515
and better error reporting for trait objects starting with `?Sized`.
1616
- [0e+10 is now a valid floating point literal][40589]
1717
- [Now warns if you bind a lifetime parameter to 'static][40734]
18+
- [Tuples, Enum variant fields, and structs with no `repr` attribute or with
19+
`#[repr(Rust)]` are reordered to minimize padding and produce a smaller
20+
representation in some cases.][40377]
1821

1922
Compiler
2023
--------
@@ -68,7 +71,8 @@ Misc
6871
----
6972

7073
- [rustdoc can now use pulldown-cmark with the `--enable-commonmark` flag][40338]
71-
- [rustdoc added support for images, rules and footnotes in Markdown][40919]
74+
- [fixed a regression in rustdoc with images, rules and footnotes in Markdown not
75+
being parsed correctly][40919]
7276
- [Added rust-winbg script for better debugging on Windows][39983]
7377
- [Rust now uses the official cross compiler for NetBSD][40612]
7478
- [rustdoc now accepts `#` at the start of files][40828]
@@ -80,12 +84,14 @@ Compatibility Notes
8084
- [Changes to how the `0` flag works in format!][40241] Padding zeroes are now
8185
always placed after the sign if it exists and before the digits. With the `#`
8286
flag the zeroes are placed after the prefix and before the digits.
87+
- [Due to to the Struct Field Optimisation][40377], using `transmute` on structs
88+
that have no `repr` attribute or `#[repr(Rust)]` will longer work.
8389
- [The refactor of trait object type parsing][40043] fixed a bug where `+` was
8490
receiving the wrong priority parsing things like `&for<'a> Tr<'a> + Send` as
8591
`&(for<'a> Tr<'a> + Send)` instead of `(&for<'a> Tr<'a>) + Send`
8692
- [Overlapping inherent `impl`s are now a hard error][40728]
8793
- [`PartialOrd` and `Ord` must to agree on the ordering.][41270]
88-
- [`rustc main.rs -o out --emit=asm,llvm-ir`][41085] Now would output
94+
- [`rustc main.rs -o out --emit=asm,llvm-ir`][41085] Now will output
8995
`out.asm` and `out.ll` instead of only one of the filetypes.
9096
- [ calling a function that returns `Self` will no longer work][41805] when
9197
the size of `Self` cannot be statically determined.
@@ -127,6 +133,7 @@ Compatibility Notes
127133
[41805]: https://github.com/rust-lang/rust/issues/41805
128134
[40805]: https://github.com/rust-lang/rust/pull/40805
129135
[41270]: https://github.com/rust-lang/rust/issues/41270
136+
[40377]: https://github.com/rust-lang/rust/pull/40377
130137
[cargo/3842]: https://github.com/rust-lang/cargo/pull/3842
131138
[cargo/3847]: https://github.com/rust-lang/cargo/pull/3847
132139
[cargo/3885]: https://github.com/rust-lang/cargo/pull/3885

0 commit comments

Comments
 (0)