Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.45.2 post #661

Merged
merged 4 commits into from
Aug 3, 2020
Merged

1.45.2 post #661

merged 4 commits into from
Aug 3, 2020

Conversation

Mark-Simulacrum
Copy link
Member

This is targeting tomorrow right now, but that may be adjusted in the future.

@Mark-Simulacrum Mark-Simulacrum requested a review from a team as a code owner July 30, 2020 20:39
@Mark-Simulacrum
Copy link
Member Author

r? @rust-lang/release

some traits for better error messages. Trait objects of `SliceIndex`, `Index`,
and `IndexMut` are affected by this bug.

## Bindings in tuple-patterns
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The bug actually manifested in a slice pattern.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, the backported fix was for tuple patterns, and the regression was in a slice pattern. So we're going back to the status quo from 1.45.0, and I guess that ICE will re-emerge for tuples.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hm, I think the bug is something like "slice patterns in tuple patterns" or something like that. I'm not sure how to pinpoint it.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, because Option::Some(_) is a tuple variant? OK, that makes sense, and I just checked that there's no issue for slice patterns alone.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe "Nested bindings in tuple patterns"?

Copy link
Member Author

@Mark-Simulacrum Mark-Simulacrum Jul 30, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The condition leads me to believe it needs to be a tuple struct (or tuple enum variant, I guess) specifically with a .. pattern bound to a variable in it. Saying all of that in the heading seems too verbose, though. Perhaps "Tuple patterns containing bindings to .."? That also feels rather long.

Mark-Simulacrum and others added 2 commits July 30, 2020 17:29
Co-authored-by: Josh Stone <cuviper@gmail.com>
release: true
---

The Rust team is happy to announce a new version of Rust, 1.45.2. Rust is a

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure how I feel about the wording of "happy to announce". In a way, the release is a result of previous mistakes, so perhaps it's not something we should be celebrating?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is fine - we are in some sense happy to fix the bug at least. If you have alternative suggestions though I'd be happy to consider them.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Rust team announces...

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Rust team announces...

I was also considering this general direction, though I had the impression that the correct tense would be "The Rust team is announcing". I'm not a native speaker, though 🙃

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pushed an update.

@Mark-Simulacrum Mark-Simulacrum merged commit b0e11aa into rust-lang:master Aug 3, 2020
@Mark-Simulacrum Mark-Simulacrum deleted the 1.45.2 branch August 3, 2020 15:09
jackh726 pushed a commit to jackh726/blog.rust-lang.org that referenced this pull request Jul 26, 2021
Co-authored-by: Josh Stone <cuviper@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants