Skip to content

Add initial 1.95.0 blog#1836

Open
Mark-Simulacrum wants to merge 3 commits intorust-lang:mainfrom
Mark-Simulacrum:release-1.95.0
Open

Add initial 1.95.0 blog#1836
Mark-Simulacrum wants to merge 3 commits intorust-lang:mainfrom
Mark-Simulacrum:release-1.95.0

Conversation

@Mark-Simulacrum
Copy link
Copy Markdown
Member

@Mark-Simulacrum Mark-Simulacrum commented Apr 8, 2026

@rustbot ping relnotes-interest-group

cc @rust-lang/release

Rendered

@rustbot
Copy link
Copy Markdown
Collaborator

rustbot commented Apr 8, 2026

Hi relnotes-interest-group, this PR adds a release blog post. Could you review
the blog post if you have time? Thanks <3

cc @alex-semenyuk @jieyouxu @joshtriplett @lcnr @traviscross


We are generally interested in use cases that require custom target
specifications. TODO: Do we want a link to an issue where people can comment
with a use case?
Copy link
Copy Markdown
Member Author

@Mark-Simulacrum Mark-Simulacrum Apr 8, 2026

Choose a reason for hiding this comment

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

View changes since the review

@davidtwco do you want to link to something here? I think you've been driving collection of use cases to help answer my question here (davidtwco/rfcs#5 (comment))

Happy to file an issue on rust-lang/rust and point to it or whatever would make sense to you. Or we can drop this note entirely. Also open to opinions on restructuring the text (e.g., mentioning build-std).

Comment on lines +70 to +72
Note that the compiler will not currently consider the patterns matched in `if
let` guards as part of the exhaustiveness evaluation of the overall match, just
like `if` guards.
Copy link
Copy Markdown
Member Author

@Mark-Simulacrum Mark-Simulacrum Apr 8, 2026

Choose a reason for hiding this comment

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

View changes since the review

I don't know if this is worth calling out explicitly. I was actually half-expecting that this does participate in exhaustiveness analysis (it seems like we could make it do that, for the case where the RHS of the if let is a value from the match's expression).

I'm guessing our mental model is that these are 'just' guards though in which case the implemented behavior makes sense. If so, maybe we should strike 'currently' from this text.

Co-authored-by: Jake Goulding <shepmaster@mac.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.

4 participants