mirror of
https://github.com/rust-lang/rust
synced 2024-10-14 04:23:37 +00:00
Update RELEASES.md
This commit is contained in:
parent
85f3ecfa9b
commit
111786d30e
|
@ -8,14 +8,14 @@ Language
|
||||||
- [The inclusive range syntax e.g. `for x in 0..=10` is now stable.][47813]
|
- [The inclusive range syntax e.g. `for x in 0..=10` is now stable.][47813]
|
||||||
- [Stablise `'_`. The underscore lifetime can be used anywhere where a
|
- [Stablise `'_`. The underscore lifetime can be used anywhere where a
|
||||||
lifetime can be elided.][49458]
|
lifetime can be elided.][49458]
|
||||||
- [`impl Trait` is now stable allowing you to have abstract
|
- [`impl Trait` is now stable allowing you to have abstract types in returns
|
||||||
return types.][49255] e.g. `fn foo() -> impl Iterator<Item=u8>` or
|
or in function parameters.][49255] e.g. `fn foo() -> impl Iterator<Item=u8>` or
|
||||||
`fn open(path: impl AsRef<Path>)`.
|
`fn open(path: impl AsRef<Path>)`.
|
||||||
- [Pattern matching will now automatically apply dereferences.][49394]
|
- [Pattern matching will now automatically apply dereferences.][49394]
|
||||||
- [128-bit integers in the form of `u128` and `i128` are now stable.][49101]
|
- [128-bit integers in the form of `u128` and `i128` are now stable.][49101]
|
||||||
- [`main` can now return `Result<(), E: Debug>`][49162] in addition to `()`.
|
- [`main` can now return `Result<(), E: Debug>`][49162] in addition to `()`.
|
||||||
- [A lot of operations are now available in a const context.][46882] E.g. You
|
- [A lot of operations are now available in a const context.][46882] E.g. You
|
||||||
can now index into constant arrays, reference and deference into constants,
|
can now index into constant arrays, reference and dereference into constants,
|
||||||
and use Tuple struct constructors.
|
and use Tuple struct constructors.
|
||||||
- [Fixed entry slice patterns are now stable.][48516] e.g.
|
- [Fixed entry slice patterns are now stable.][48516] e.g.
|
||||||
```rust
|
```rust
|
||||||
|
@ -125,6 +125,7 @@ Compatibility Notes
|
||||||
- [`".e0"` will now no longer parse as `0.0` and will instead cause
|
- [`".e0"` will now no longer parse as `0.0` and will instead cause
|
||||||
an error.][48235]
|
an error.][48235]
|
||||||
- [Removed hoedown from rustdoc.][48274]
|
- [Removed hoedown from rustdoc.][48274]
|
||||||
|
- [Bounds on higher-kinded lifetimes a hard error.][48326]
|
||||||
|
|
||||||
[46882]: https://github.com/rust-lang/rust/pull/46882
|
[46882]: https://github.com/rust-lang/rust/pull/46882
|
||||||
[47379]: https://github.com/rust-lang/rust/pull/47379
|
[47379]: https://github.com/rust-lang/rust/pull/47379
|
||||||
|
@ -137,6 +138,7 @@ Compatibility Notes
|
||||||
[48274]: https://github.com/rust-lang/rust/pull/48274
|
[48274]: https://github.com/rust-lang/rust/pull/48274
|
||||||
[48281]: https://github.com/rust-lang/rust/pull/48281
|
[48281]: https://github.com/rust-lang/rust/pull/48281
|
||||||
[48296]: https://github.com/rust-lang/rust/pull/48296
|
[48296]: https://github.com/rust-lang/rust/pull/48296
|
||||||
|
[48326]: https://github.com/rust-lang/rust/pull/48326
|
||||||
[48359]: https://github.com/rust-lang/rust/pull/48359
|
[48359]: https://github.com/rust-lang/rust/pull/48359
|
||||||
[48404]: https://github.com/rust-lang/rust/pull/48404
|
[48404]: https://github.com/rust-lang/rust/pull/48404
|
||||||
[48481]: https://github.com/rust-lang/rust/pull/48481
|
[48481]: https://github.com/rust-lang/rust/pull/48481
|
||||||
|
|
Loading…
Reference in a new issue