@@ -15,6 +15,9 @@ Language
15
15
and better error reporting for trait objects starting with ` ?Sized ` .
16
16
- [ 0e+10 is now a valid floating point literal] [ 40589 ]
17
17
- [ 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 ]
18
21
19
22
Compiler
20
23
--------
68
71
----
69
72
70
73
- [ 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 ]
72
76
- [ Added rust-winbg script for better debugging on Windows] [ 39983 ]
73
77
- [ Rust now uses the official cross compiler for NetBSD] [ 40612 ]
74
78
- [ rustdoc now accepts ` # ` at the start of files] [ 40828 ]
@@ -80,12 +84,14 @@ Compatibility Notes
80
84
- [ Changes to how the ` 0 ` flag works in format!] [ 40241 ] Padding zeroes are now
81
85
always placed after the sign if it exists and before the digits. With the ` # `
82
86
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.
83
89
- [ The refactor of trait object type parsing] [ 40043 ] fixed a bug where ` + ` was
84
90
receiving the wrong priority parsing things like ` &for<'a> Tr<'a> + Send ` as
85
91
` &(for<'a> Tr<'a> + Send) ` instead of ` (&for<'a> Tr<'a>) + Send `
86
92
- [ Overlapping inherent ` impl ` s are now a hard error] [ 40728 ]
87
93
- [ ` 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
89
95
` out.asm ` and ` out.ll ` instead of only one of the filetypes.
90
96
- [ calling a function that returns ` Self ` will no longer work] [ 41805 ] when
91
97
the size of ` Self ` cannot be statically determined.
@@ -127,6 +133,7 @@ Compatibility Notes
127
133
[ 41805 ] : https://github.com/rust-lang/rust/issues/41805
128
134
[ 40805 ] : https://github.com/rust-lang/rust/pull/40805
129
135
[ 41270 ] : https://github.com/rust-lang/rust/issues/41270
136
+ [ 40377 ] : https://github.com/rust-lang/rust/pull/40377
130
137
[ cargo/3842 ] : https://github.com/rust-lang/cargo/pull/3842
131
138
[ cargo/3847 ] : https://github.com/rust-lang/cargo/pull/3847
132
139
[ cargo/3885 ] : https://github.com/rust-lang/cargo/pull/3885
0 commit comments