@@ -37,9 +37,6 @@ Libraries
37
37
` TryFrom<Arc<[T]>> ` ,` TryFrom<Box<[T]>> ` , and ` TryFrom<Rc<[T]>> `
38
38
respectively.] [ 69538 ] ** Note** These conversions are only available when ` N `
39
39
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 ]
43
40
- [ You can now use associated constants on floats and integers directly, rather
44
41
than having to import the module.] [ 68952 ] e.g. You can now write ` u32::MAX ` or
45
42
` f32::NAN ` with no imports.
74
71
- [ Certain checks in the ` const_err ` lint were deemed unrelated to const
75
72
evaluation] [ 69185 ] , and have been moved to the ` unconditional_panic ` and
76
73
` 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
77
85
78
86
Internal Only
79
87
-------------
@@ -114,10 +122,10 @@ related tools.
114
122
[ 69194 ] : https://github.com/rust-lang/rust/pull/69194/
115
123
[ 69201 ] : https://github.com/rust-lang/rust/pull/69201/
116
124
[ 69227 ] : https://github.com/rust-lang/rust/pull/69227/
125
+ [ 69548 ] : https://github.com/rust-lang/rust/pull/69548/
117
126
[ 69256 ] : https://github.com/rust-lang/rust/pull/69256/
118
127
[ 69361 ] : https://github.com/rust-lang/rust/pull/69361/
119
128
[ 69366 ] : https://github.com/rust-lang/rust/pull/69366/
120
- [ 69373 ] : https://github.com/rust-lang/rust/pull/69373/
121
129
[ 69538 ] : https://github.com/rust-lang/rust/pull/69538/
122
130
[ cargo/7823 ] : https://github.com/rust-lang/cargo/pull/7823
123
131
[ cargo/7697 ] : https://github.com/rust-lang/cargo/pull/7697
0 commit comments