Updated release note

This commit is contained in:
hi-rustin 2021-06-18 15:21:41 +08:00
parent 1a462831ad
commit 87fb7cb58f
1 changed files with 2 additions and 0 deletions

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/