Skip to content

Commit b0e11aa

Browse files
1.45.2 post (#661)
Co-authored-by: Josh Stone <[email protected]>
1 parent 08f0965 commit b0e11aa

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed

posts/2020-08-03-Rust-1.45.2.md

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
---
2+
layout: post
3+
title: "Announcing Rust 1.45.2"
4+
author: The Rust Release Team
5+
release: true
6+
---
7+
8+
The Rust team is announcing a new version of Rust, 1.45.2. Rust is a
9+
programming language that is empowering everyone to build reliable and
10+
efficient software.
11+
12+
If you have a previous version of Rust installed via rustup, getting Rust
13+
1.45.2 is as easy as:
14+
15+
```console
16+
rustup update stable
17+
```
18+
19+
If you don't have it already, you can [get `rustup`][install] from the
20+
appropriate page on our website, and check out the [detailed release notes for
21+
1.45.2][notes] on GitHub.
22+
23+
[install]: https://www.rust-lang.org/install.html
24+
[notes]: https://github.com/rust-lang/rust/blob/master/RELEASES.md#version-1452-2020-08-03
25+
26+
## What's in 1.45.2 stable
27+
28+
1.45.2 contains two fixes, one to 1.45.1 and the other to 1.45.0.
29+
30+
## `#[track_caller]` on trait objects
31+
32+
Trait objects with methods annotated with `#[track_caller]` would be
33+
miscompiled. `#[track_caller]` is not yet stable on 1.45. However, the standard
34+
library makes use of this on some traits for better error messages. Trait
35+
objects of `SliceIndex`, `Index`, and `IndexMut` were affected by this bug.
36+
37+
## Tuple patterns binding `..` to an identifier
38+
39+
In 1.45.1, we backported a fix for [#74539], but this fix turned out to be
40+
incorrect, causing other unrelated breakage. As such, this release reverts that
41+
fix.
42+
43+
## Contributors to 1.45.2
44+
45+
Many people came together to create Rust 1.45.2. We couldn't have done it
46+
without all of you. [Thanks!](https://thanks.rust-lang.org/rust/1.45.2/)
47+
48+
[#74539]: https://github.com/rust-lang/rust/issues/74539

0 commit comments

Comments
 (0)