Rust 1.25.0 prerelease testing


Rust 1.25 is released on Thursday (during the Berlin All-Hands!) and builds are available now for testing. Release artifacts are uploaded to dev ( currently and will be promoted to prod ( this Thursday. The URL is

You can test rustup with

RUSTUP_DIST_SERVER= rustup update stable

Please let us know if you run into any issues! Pending any detected regressions these are likely to be the exact artifacts that we’ll release on Thursday.

You can find the release notes on GitHub as well:



I see there’s a new match syntax, what’s the motivation for it?

I don’t really buy the argument that it’s easier to spot the match arms, but I’m inclined to agree with this comment.


#3 is the accepted RFC, which has a motivation section.

One are that isn’t filled in is macros; the more consistent you can make a syntax, the easier it is to generate code in that form. This is one reason you can declare structs ‘struct LikeThis;’ or ‘struct LikeThis {};’ for example.

1 Like


After reading through the GitHub comments on RFC 1925 I’m unclear if this will be recommended formatting? Will this update the preferred style and formatting for matches?

I’m new to the language and want to make sure I’m following best practices. Having rustfmt and consistent style has been a huge attraction to the language.



@jesselucas It likely has no effect on style. This comment is probably the most direct clarification:

I think its clear that this isn’t going to be the recommended style, but in general we’ve taken a very liberal approach to the grammar, accepting all kinds of things that would be bad style (as Niko says the most practical reason for this is to make writing macros easier).

1 Like


Are you sure it actually helps macros? In the RFC I only see an example which makes writing macros worse:



Looking through, I see the following stabilizations are shown as since="1.24.0":

Is this correct? It seems like these PRs landed a bit late and weren’t updated to since="1.25.0".


closed #8

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.