From 6364b4dbb4d2393a6bb51562b3f8d2fe2748f657 Mon Sep 17 00:00:00 2001 From: XAMPPRocky <4464295+XAMPPRocky@users.noreply.github.com> Date: Thu, 2 Apr 2020 21:11:29 +0200 Subject: [PATCH] Update RELEASES.md --- RELEASES.md | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/RELEASES.md b/RELEASES.md index f0211f6a0e9..d181b0ece25 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -37,9 +37,6 @@ Libraries `TryFrom>`,`TryFrom>`, and `TryFrom>` respectively.][69538] **Note** These conversions are only available when `N` is `0..=32`. -- [All `to_be_bytes`, `to_le_bytes`, `to_ne_bytes`, `from_be_bytes`, - `from_le_bytes`, and `from_ne_bytes` methods for integers are - now `const`.][69373] - [You can now use associated constants on floats and integers directly, rather than having to import the module.][68952] e.g. You can now write `u32::MAX` or `f32::NAN` with no imports. @@ -74,6 +71,17 @@ Misc - [Certain checks in the `const_err` lint were deemed unrelated to const evaluation][69185], and have been moved to the `unconditional_panic` and `arithmetic_overflow` lints. + +Compatibility Notes +------------------- + +- [Having trailing syntax in the `assert!` macro is now a hard error.][69548] This + has been a warning since 1.36.0. +- [Fixed `Self` not having the correctly inferred type.][69340] This incorrectly + led to some instances being accepted, and now correctly emits a hard error. +- [][] + +[69340]: https://github.com/rust-lang/rust/pull/69340 Internal Only ------------- @@ -114,10 +122,10 @@ related tools. [69194]: https://github.com/rust-lang/rust/pull/69194/ [69201]: https://github.com/rust-lang/rust/pull/69201/ [69227]: https://github.com/rust-lang/rust/pull/69227/ +[69548]: https://github.com/rust-lang/rust/pull/69548/ [69256]: https://github.com/rust-lang/rust/pull/69256/ [69361]: https://github.com/rust-lang/rust/pull/69361/ [69366]: https://github.com/rust-lang/rust/pull/69366/ -[69373]: https://github.com/rust-lang/rust/pull/69373/ [69538]: https://github.com/rust-lang/rust/pull/69538/ [cargo/7823]: https://github.com/rust-lang/cargo/pull/7823 [cargo/7697]: https://github.com/rust-lang/cargo/pull/7697