Auto merge of #52986 - pietroalbini:beta-backports, r=Mark-Simulacrum · rust-lang/rust@ea82e08 (original) (raw)

`@@ -94,9 +94,9 @@ Misc

`

94

94

``

95

95

`Compatibility Notes

`

96

96

`-------------------

`

97

``

`-

`

98

``

`-

have implementations.][51276] For example the below code will now fail

`

99

``

`-

to compile.

`

``

97

`+

`

``

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

``

`` -

``

``

147

`` +

``

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

`+

`

``

170

`+

match ergonomics: #52213.

`

``

171

+

``

172

`+

`

``

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

`---------

`