From 6e042589791fe5e3ae905c6c1fc3bb4fb867b184 Mon Sep 17 00:00:00 2001 From: Mark Rousskov Date: Thu, 30 Jul 2020 16:38:44 -0400 Subject: [PATCH 1/4] 1.45.2 post --- posts/2020-07-31-Rust-1.45.2.md | 48 +++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 posts/2020-07-31-Rust-1.45.2.md diff --git a/posts/2020-07-31-Rust-1.45.2.md b/posts/2020-07-31-Rust-1.45.2.md new file mode 100644 index 000000000..ce6c353da --- /dev/null +++ b/posts/2020-07-31-Rust-1.45.2.md @@ -0,0 +1,48 @@ +--- +layout: post +title: "Announcing Rust 1.45.2" +author: The Rust Release Team +release: true +--- + +The Rust team is happy to announce a new version of Rust, 1.45.2. Rust is a +programming language that is empowering everyone to build reliable and +efficient software. + +If you have a previous version of Rust installed via rustup, getting Rust +1.45.2 is as easy as: + +```console +rustup update stable +``` + +If you don't have it already, you can [get `rustup`][install] from the +appropriate page on our website, and check out the [detailed release notes for +1.45.2][notes] on GitHub. + +[install]: https://www.rust-lang.org/install.html +[notes]: https://github.com/rust-lang/rust/blob/master/RELEASES.md#version-1452-2020-07-31 + +## What's in 1.45.2 stable + +1.45.2 contains two fixes, one to 1.45.1 and the other to 1.45.0. + +## `#[track_caller]` on trait objects + +Trait objects and `#[track_caller]` could lead to unsoundness. `#[track_caller]` +is not yet stable on 1.45. However, the standard library makes use of this on +some traits for better error messages. Trait objects of `SliceIndex`, `Index`, +and `IndexMut` are affected by this bug. + +## Bindings in tuple-patterns + +In 1.45.1, we backported a fix for [#74539], but this fix turned out to be +incorrect, causing other unrelated breakage. As such, this release reverts that +fix. + +## Contributors to 1.45.2 + +Many people came together to create Rust 1.45.2. We couldn't have done it +without all of you. [Thanks!](https://thanks.rust-lang.org/rust/1.45.2/) + +[#74539]: https://github.com/rust-lang/rust/issues/74539 From b5d079e5f83f6ede7bffd5f236e15f1edae7ba73 Mon Sep 17 00:00:00 2001 From: Mark Rousskov Date: Thu, 30 Jul 2020 17:29:44 -0400 Subject: [PATCH 2/4] Update posts/2020-07-31-Rust-1.45.2.md Co-authored-by: Josh Stone --- posts/2020-07-31-Rust-1.45.2.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/posts/2020-07-31-Rust-1.45.2.md b/posts/2020-07-31-Rust-1.45.2.md index ce6c353da..fd5d87f19 100644 --- a/posts/2020-07-31-Rust-1.45.2.md +++ b/posts/2020-07-31-Rust-1.45.2.md @@ -32,7 +32,7 @@ appropriate page on our website, and check out the [detailed release notes for Trait objects and `#[track_caller]` could lead to unsoundness. `#[track_caller]` is not yet stable on 1.45. However, the standard library makes use of this on some traits for better error messages. Trait objects of `SliceIndex`, `Index`, -and `IndexMut` are affected by this bug. +and `IndexMut` were affected by this bug. ## Bindings in tuple-patterns From b39fcb0e7993622629f659fc74ab76c87da8b2c4 Mon Sep 17 00:00:00 2001 From: Mark Rousskov Date: Thu, 30 Jul 2020 17:56:14 -0400 Subject: [PATCH 3/4] Move to Monday --- ...7-31-Rust-1.45.2.md => 2020-08-03-Rust-1.45.2.md} | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) rename posts/{2020-07-31-Rust-1.45.2.md => 2020-08-03-Rust-1.45.2.md} (76%) diff --git a/posts/2020-07-31-Rust-1.45.2.md b/posts/2020-08-03-Rust-1.45.2.md similarity index 76% rename from posts/2020-07-31-Rust-1.45.2.md rename to posts/2020-08-03-Rust-1.45.2.md index fd5d87f19..81f784554 100644 --- a/posts/2020-07-31-Rust-1.45.2.md +++ b/posts/2020-08-03-Rust-1.45.2.md @@ -21,7 +21,7 @@ appropriate page on our website, and check out the [detailed release notes for 1.45.2][notes] on GitHub. [install]: https://www.rust-lang.org/install.html -[notes]: https://github.com/rust-lang/rust/blob/master/RELEASES.md#version-1452-2020-07-31 +[notes]: https://github.com/rust-lang/rust/blob/master/RELEASES.md#version-1452-2020-08-03 ## What's in 1.45.2 stable @@ -29,12 +29,12 @@ appropriate page on our website, and check out the [detailed release notes for ## `#[track_caller]` on trait objects -Trait objects and `#[track_caller]` could lead to unsoundness. `#[track_caller]` -is not yet stable on 1.45. However, the standard library makes use of this on -some traits for better error messages. Trait objects of `SliceIndex`, `Index`, -and `IndexMut` were affected by this bug. +Trait objects with methods annotated with `#[track_caller]` would be +miscompiled. `#[track_caller]` is not yet stable on 1.45. However, the standard +library makes use of this on some traits for better error messages. Trait +objects of `SliceIndex`, `Index`, and `IndexMut` were affected by this bug. -## Bindings in tuple-patterns +## Tuple patterns binding `..` to an identifier In 1.45.1, we backported a fix for [#74539], but this fix turned out to be incorrect, causing other unrelated breakage. As such, this release reverts that From 6aeb65679231de55e757aa020e7ddd480a9d9d76 Mon Sep 17 00:00:00 2001 From: Mark Rousskov Date: Mon, 3 Aug 2020 09:58:09 -0400 Subject: [PATCH 4/4] Avoid happiness --- posts/2020-08-03-Rust-1.45.2.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/posts/2020-08-03-Rust-1.45.2.md b/posts/2020-08-03-Rust-1.45.2.md index 81f784554..51dee9076 100644 --- a/posts/2020-08-03-Rust-1.45.2.md +++ b/posts/2020-08-03-Rust-1.45.2.md @@ -5,7 +5,7 @@ author: The Rust Release Team release: true --- -The Rust team is happy to announce a new version of Rust, 1.45.2. Rust is a +The Rust team is announcing a new version of Rust, 1.45.2. Rust is a programming language that is empowering everyone to build reliable and efficient software.