Rollup merge of #86427 - hi-rustin:rustin-patch-release-note, r=Mark-Simulacrum

Updated release note

close https://github.com/rust-lang/rust/issues/77098

base on https://github.com/rust-lang/rust/pull/78690
This commit is contained in:
Yuki Okushi 2021-06-21 09:42:16 +09:00 committed by GitHub
commit 13b0f1a29b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1749,6 +1749,7 @@ Language
- [You can now use `#[repr(transparent)]` on univariant `enum`s.][68122] Meaning - [You can now use `#[repr(transparent)]` on univariant `enum`s.][68122] Meaning
that you can create an enum that has the exact layout and ABI of the type that you can create an enum that has the exact layout and ABI of the type
it contains. it contains.
- [You can now use outer attribute procedural macros on inline modules.][64273]
- [There are some *syntax-only* changes:][67131] - [There are some *syntax-only* changes:][67131]
- `default` is syntactically allowed before items in `trait` definitions. - `default` is syntactically allowed before items in `trait` definitions.
- Items in `impl`s (i.e. `const`s, `type`s, and `fn`s) may syntactically - Items in `impl`s (i.e. `const`s, `type`s, and `fn`s) may syntactically
@ -1810,6 +1811,7 @@ Compatibility Notes
[67935]: https://github.com/rust-lang/rust/pull/67935/ [67935]: https://github.com/rust-lang/rust/pull/67935/
[68339]: https://github.com/rust-lang/rust/pull/68339/ [68339]: https://github.com/rust-lang/rust/pull/68339/
[68122]: https://github.com/rust-lang/rust/pull/68122/ [68122]: https://github.com/rust-lang/rust/pull/68122/
[64273]: https://github.com/rust-lang/rust/pull/64273/
[67712]: https://github.com/rust-lang/rust/pull/67712/ [67712]: https://github.com/rust-lang/rust/pull/67712/
[67887]: https://github.com/rust-lang/rust/pull/67887/ [67887]: https://github.com/rust-lang/rust/pull/67887/
[67131]: https://github.com/rust-lang/rust/pull/67131/ [67131]: https://github.com/rust-lang/rust/pull/67131/