diff options
| author | XAMPPRocky <4464295+XAMPPRocky@users.noreply.github.com> | 2020-12-08 22:13:03 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-08 22:13:03 +0000 |
| commit | 7bb1889899d27a453f00e2b701cf8e3508431f4c (patch) | |
| tree | 46d171c65cda5c4c799dc4fb9815aa1e07060e09 /RELEASES.md | |
| parent | 891341942ab49c42c991072a4ac27b4dd4f28779 (diff) | |
| download | rust-7bb1889899d27a453f00e2b701cf8e3508431f4c.tar.gz rust-7bb1889899d27a453f00e2b701cf8e3508431f4c.zip | |
Apply suggestions from code review
Co-authored-by: Jonas Schievink <jonasschievink@gmail.com> Co-authored-by: Vadim Petrochenkov <vadim.petrochenkov@gmail.com>
Diffstat (limited to 'RELEASES.md')
| -rw-r--r-- | RELEASES.md | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/RELEASES.md b/RELEASES.md index 13af6dfe0c9..a06963ae1b4 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -4,10 +4,10 @@ Version 1.49.0 (2020-11-19) Language ----------------------- -- [Unions now implement `Drop`, and you can now have a field in a union +- [Unions can now implement `Drop`, and you can now have a field in a union with `ManuallyDrop<T>`.][77547] -- [You can now cast zero sized enums (0 or 1 variants) integers.][76199] -- [You can now take bind by reference and by move in patterns.][76119] This +- [You can now cast zero sized enums (0 or 1 variants) to integers.][76199] +- [You can now bind by reference and by move in patterns.][76119] This allows you to selectively borrow individual components of a type. E.g. ```rust #[derive(Debug)] @@ -25,7 +25,7 @@ Language let Person { name, ref age } = person; println!("{} {}", name, age); ``` -- [Macros that end with a semi-colon are now treated as statements.][78376] +- [Macros that end with a semi-colon are now treated as statements even if they expand to nothing.][78376] Compiler ----------------------- @@ -74,7 +74,8 @@ Compatibility Notes ------------------- - [Demoted `i686-unknown-freebsd` to tier 2 support.][78746] -- [Rustc will now check for the validity of attributes on enum variants.][77015] +- [Rustc will now check for the validity of some built-in attributes on enum variants.][77015] + Previously such invalid or unused attributes could be ignored. Previously invalid or unused attributes were ignored. Internal Only @@ -83,7 +84,7 @@ These changes provide no direct user facing benefits, but represent significant improvements to the internals and overall performance of rustc and related tools. -- [rustc's internal crates are now compiled the `initial-exec` Thread +- [rustc's internal crates are now compiled using the `initial-exec` Thread Local Storage model.][78201] - [Calculate visibilities once in resolve.][78077] - [Added `system` to the `llvm-libunwind` bootstrap config option.][77703] |
