]> git.lizzy.rs Git - rust.git/blobdiff - RELEASES.md
update `min_const_generics` tests using default values for const params
[rust.git] / RELEASES.md
index 13af6dfe0c9b48eafe14c1e244ed8a5e7bc4e42b..8f04980e390367dcf5bb9c187f710a00ead0d819 100644 (file)
@@ -1,13 +1,13 @@
-Version 1.49.0 (2020-11-19)
+Version 1.49.0 (2020-12-31)
 ============================
 
 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 uninhabited enums 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,6 @@ Language
   let Person { name, ref age } = person;
   println!("{} {}", name, age);
   ```
-- [Macros that end with a semi-colon are now treated as statements.][78376]
 
 Compiler
 -----------------------
@@ -36,7 +35,7 @@ Compiler
 - [Added tier 3 support for `mipsel-unknown-none`.][78676]
 - [Raised the minimum supported LLVM version to LLVM 9.][78848]
 - [Output from threads spawned in tests is now captured.][78227]
-- [TODO: rustc_target: Change os and vendor values to "none" and "unknown" for some targets][78951]
+- [Change os and vendor values to "none" and "unknown" for some targets][78951]
 
 \* Refer to Rust's [platform support page][forge-platform-support] for more
 information on Rust's tiered platform support.
@@ -73,9 +72,13 @@ Cargo
 Compatibility Notes
 -------------------
 
-- [Demoted `i686-unknown-freebsd` to tier 2 support.][78746]
-- [Rustc will now check for the validity of attributes on enum variants.][77015]
-  Previously invalid or unused attributes were ignored.
+- [Demoted `i686-unknown-freebsd` from host tier 2 to target tier 2 support.][78746]
+- [Macros that end with a semi-colon are now treated as statements even if they expand to nothing.][78376]
+- [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.
+- Leading whitespace is stripped more uniformly in documentation comments, which may change behavior. You
+  read [this post about the changes][rustdoc-ws-post] for more details.
+- [Trait bounds are no longer inferred for associated types.][79904]
 
 Internal Only
 -------------
@@ -83,7 +86,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]
@@ -110,6 +113,7 @@ related tools.
 [74989]: https://github.com/rust-lang/rust/pull/74989
 [79004]: https://github.com/rust-lang/rust/pull/79004
 [78676]: https://github.com/rust-lang/rust/pull/78676
+[79904]: https://github.com/rust-lang/rust/issues/79904
 [cargo/8864]: https://github.com/rust-lang/cargo/pull/8864
 [cargo/8765]: https://github.com/rust-lang/cargo/pull/8765
 [cargo/8758]: https://github.com/rust-lang/cargo/pull/8758
@@ -118,7 +122,9 @@ related tools.
 [`slice::select_nth_unstable_by`]: https://doc.rust-lang.org/nightly/std/primitive.slice.html#method.select_nth_unstable_by
 [`slice::select_nth_unstable_by_key`]: https://doc.rust-lang.org/nightly/std/primitive.slice.html#method.select_nth_unstable_by_key
 [`hint::spin_loop`]: https://doc.rust-lang.org/stable/std/hint/fn.spin_loop.html
-
+[`Poll::is_ready`]: https://doc.rust-lang.org/stable/std/task/enum.Poll.html#method.is_ready
+[`Poll::is_pending`]: https://doc.rust-lang.org/stable/std/task/enum.Poll.html#method.is_pending
+[rustdoc-ws-post]: https://blog.guillaume-gomez.fr/articles/2020-11-11+New+doc+comment+handling+in+rustdoc
 
 Version 1.48.0 (2020-11-19)
 ==========================