# Rust 1.25.0 prerelease testing

**URL:** <https://internals.rust-lang.org/t/rust-1-25-0-prerelease-testing/7140>\
**Category:** announcements\
**Created:** [March 26, 2018, 7:09am UTC](https://internals.rust-lang.org/t/rust-1-25-0-prerelease-testing/7140 "2018-03-26T07:09:56Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![alexcrichton](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/alexcrichton/32/4501_2.png) [@alexcrichton](https://internals.rust-lang.org/u/alexcrichton)\
**Post date:** [March 26, 2018, 7:09am UTC](https://internals.rust-lang.org/t/rust-1-25-0-prerelease-testing/7140/1 "2018-03-26T07:09:56Z")

</div>

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_ ([dev-static.rust-lang.org](http://dev-static.rust-lang.org)) currently and will be promoted to prod ([static.rust-lang.org](http://static.rust-lang.org)) this Thursday. The URL is [https://dev-static.rust-lang.org/dist/2018-03-25/](https://dev-static.rust-lang.org/dist/2018-03-25/)

You can test rustup with

```bash
RUSTUP_DIST_SERVER=https://dev-static.rust-lang.org 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:

> <https://github.com/rust-lang/rust/blob/master/RELEASES.md#version-1250-2018-03-29>

---

<div class="post-metadata">

**Author:** ![torkleyy](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/torkleyy/32/4859_2.png) [@torkleyy](https://internals.rust-lang.org/u/torkleyy)\
**Post date:** [March 26, 2018, 8:01am UTC](https://internals.rust-lang.org/t/rust-1-25-0-prerelease-testing/7140/2 "2018-03-26T08:01:42Z")

</div>

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](https://github.com/rust-lang/rfcs/pull/1925#issuecomment-282471936).

---

<div class="post-metadata">

**Author:** ![steveklabnik](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/steveklabnik/32/4524_2.png) [@steveklabnik](https://internals.rust-lang.org/u/steveklabnik)\
**Post date:** [March 26, 2018, 9:02am UTC](https://internals.rust-lang.org/t/rust-1-25-0-prerelease-testing/7140/3 "2018-03-26T09:02:44Z")

</div>

[https://github.com/rust-lang/rfcs/blob/master/text/1925-optional-match-vert.md](https://github.com/rust-lang/rfcs/blob/master/text/1925-optional-match-vert.md) 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.

---

<div class="post-metadata">

**Author:** ![jesselucas](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/jesselucas/32/3884_2.png) [@jesselucas](https://internals.rust-lang.org/u/jesselucas)\
**Post date:** [March 26, 2018, 9:31am UTC](https://internals.rust-lang.org/t/rust-1-25-0-prerelease-testing/7140/4 "2018-03-26T09:31:49Z")

</div>

After reading through the GitHub comments on [RFC 1925](https://github.com/rust-lang/rfcs/pull/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.

---

<div class="post-metadata">

**Author:** ![Ixrec](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/ixrec/32/6754_2.png) [@Ixrec](https://internals.rust-lang.org/u/Ixrec)\
**Post date:** [March 26, 2018, 10:10am UTC](https://internals.rust-lang.org/t/rust-1-25-0-prerelease-testing/7140/5 "2018-03-26T10:10:44Z")

</div>

@jesselucas It likely has no effect on style. This comment is probably the most direct clarification: [Allow an optional vert at the beginning of a match branch by mdinger · Pull Request #1925 · rust-lang/rfcs · GitHub](https://github.com/rust-lang/rfcs/pull/1925#issuecomment-293681943)

> 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).

---

<div class="post-metadata">

**Author:** ![matklad](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/matklad/32/12266_2.png) [@matklad](https://internals.rust-lang.org/u/matklad)\
**Post date:** [March 26, 2018, 6:34pm UTC](https://internals.rust-lang.org/t/rust-1-25-0-prerelease-testing/7140/6 "2018-03-26T18:34:48Z")

</div>

Are you sure it actually _helps_ macros? In the RFC I only see an example which makes writing macros worse: [https://github.com/rust-lang/rfcs/pull/1925#issuecomment-326717633](https://github.com/rust-lang/rfcs/pull/1925#issuecomment-326717633)

---

<div class="post-metadata">

**Author:** ![jtgeibel](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/jtgeibel/32/1055_2.png) [@jtgeibel](https://internals.rust-lang.org/u/jtgeibel)\
**Post date:** [March 26, 2018, 11:13pm UTC](https://internals.rust-lang.org/t/rust-1-25-0-prerelease-testing/7140/7 "2018-03-26T23:13:28Z")

</div>

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

- [core\_float\_bits](https://github.com/rust-lang/rust/pull/46931/files)
- [path\_component\_asref](https://github.com/rust-lang/rust/pull/46985/files)
- [duration\_core](https://github.com/rust-lang/rust/pull/46666/files)

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

---

<div class="post-metadata">

**Author:** ![alexcrichton](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/alexcrichton/32/4501_2.png) [@alexcrichton](https://internals.rust-lang.org/u/alexcrichton)\
**Post date:** [March 25, 2019, 8:29am UTC](https://internals.rust-lang.org/t/rust-1-25-0-prerelease-testing/7140/8 "2019-03-25T08:29:57Z")

</div>

Closed on March 25, 2019, 8:29am UTC

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