94
94
95
95
Compatibility Notes
96
96
-------------------
97
- - [ Rust will no longer consider trait objects with duplicated constraints to
98
- have implementations .] [ 51276 ] For example the below code will now fail
99
- to compile.
97
+ - [ Rust will consider trait objects with duplicated constraints to be the same
98
+ type as without the duplicated constraint .] [ 51276 ] For example the below code will
99
+ now fail to compile.
100
100
``` rust
101
101
trait Trait {}
102
102
@@ -144,7 +144,7 @@ Compatibility Notes
144
144
[ `alloc::handle_alloc_error` ] : https://doc.rust-lang.org/std/alloc/fn.handle_alloc_error.html
145
145
[ `btree_map::Entry::or_default` ] : https://doc.rust-lang.org/std/collections/btree_map/enum.Entry.html#method.or_default
146
146
[ `fmt::Alignment` ] : https://doc.rust-lang.org/std/fmt/enum.Alignment.html
147
- [ `hash_map::Entry::or_default` ] : https://doc.rust-lang.org/std/collections/btree_map /enum.Entry.html#method.or_default
147
+ [ `hash_map::Entry::or_default` ] : https://doc.rust-lang.org/std/collections/hash_map /enum.Entry.html#method.or_default
148
148
[ `iter::repeat_with` ] : https://doc.rust-lang.org/std/iter/fn.repeat_with.html
149
149
[ `num::NonZeroUsize` ] : https://doc.rust-lang.org/std/num/struct.NonZeroUsize.html
150
150
[ `num::NonZeroU128` ] : https://doc.rust-lang.org/std/num/struct.NonZeroU128.html
@@ -160,6 +160,17 @@ Compatibility Notes
160
160
[ `{Any + Send + Sync}::downcast_ref` ] : https://doc.rust-lang.org/std/any/trait.Any.html#method.downcast_ref-2
161
161
[ `{Any + Send + Sync}::is` ] : https://doc.rust-lang.org/std/any/trait.Any.html#method.is-2
162
162
163
+ Version 1.27.2 (2018-07-20)
164
+ ===========================
165
+
166
+ Compatibility Notes
167
+ -------------------
168
+
169
+ - The borrow checker was fixed to avoid potential unsoundness when using
170
+ match ergonomics: [ #52213 ] [ 52213 ] .
171
+
172
+ [ 52213 ] : https://github.com/rust-lang/rust/issues/52213
173
+
163
174
Version 1.27.1 (2018-07-10)
164
175
===========================
165
176
@@ -190,7 +201,7 @@ Version 1.27.0 (2018-06-21)
190
201
Language
191
202
--------
192
203
- [ Removed 'proc' from the reserved keywords list.] [ 49699 ] This allows ` proc ` to
193
- be used as an identifer .
204
+ be used as an identifier .
194
205
- [ The dyn syntax is now available.] [ 49968 ] This syntax is equivalent to the
195
206
bare ` Trait ` syntax, and should make it clearer when being used in tandem with
196
207
` impl Trait ` . Since it is equivalent to the following syntax:
@@ -4795,7 +4806,7 @@ Language
4795
4806
--------
4796
4807
4797
4808
* Patterns with ` ref mut ` now correctly invoke [ ` DerefMut ` ] when
4798
- matching against dereferencable values.
4809
+ matching against dereferenceable values.
4799
4810
4800
4811
Libraries
4801
4812
---------
0 commit comments