Skip to content

Commit 6364b4d

Browse files
authored
Update RELEASES.md
1 parent ce3193f commit 6364b4d

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

RELEASES.md

+12-4
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,6 @@ Libraries
3737
`TryFrom<Arc<[T]>>`,`TryFrom<Box<[T]>>`, and `TryFrom<Rc<[T]>>`
3838
respectively.][69538] **Note** These conversions are only available when `N`
3939
is `0..=32`.
40-
- [All `to_be_bytes`, `to_le_bytes`, `to_ne_bytes`, `from_be_bytes`,
41-
`from_le_bytes`, and `from_ne_bytes` methods for integers are
42-
now `const`.][69373]
4340
- [You can now use associated constants on floats and integers directly, rather
4441
than having to import the module.][68952] e.g. You can now write `u32::MAX` or
4542
`f32::NAN` with no imports.
@@ -74,6 +71,17 @@ Misc
7471
- [Certain checks in the `const_err` lint were deemed unrelated to const
7572
evaluation][69185], and have been moved to the `unconditional_panic` and
7673
`arithmetic_overflow` lints.
74+
75+
Compatibility Notes
76+
-------------------
77+
78+
- [Having trailing syntax in the `assert!` macro is now a hard error.][69548] This
79+
has been a warning since 1.36.0.
80+
- [Fixed `Self` not having the correctly inferred type.][69340] This incorrectly
81+
led to some instances being accepted, and now correctly emits a hard error.
82+
- [][]
83+
84+
[69340]: https://github.com/rust-lang/rust/pull/69340
7785

7886
Internal Only
7987
-------------
@@ -114,10 +122,10 @@ related tools.
114122
[69194]: https://github.com/rust-lang/rust/pull/69194/
115123
[69201]: https://github.com/rust-lang/rust/pull/69201/
116124
[69227]: https://github.com/rust-lang/rust/pull/69227/
125+
[69548]: https://github.com/rust-lang/rust/pull/69548/
117126
[69256]: https://github.com/rust-lang/rust/pull/69256/
118127
[69361]: https://github.com/rust-lang/rust/pull/69361/
119128
[69366]: https://github.com/rust-lang/rust/pull/69366/
120-
[69373]: https://github.com/rust-lang/rust/pull/69373/
121129
[69538]: https://github.com/rust-lang/rust/pull/69538/
122130
[cargo/7823]: https://github.com/rust-lang/cargo/pull/7823
123131
[cargo/7697]: https://github.com/rust-lang/cargo/pull/7697

0 commit comments

Comments
 (0)