@@ -198,23 +198,6 @@ impl Foo for Bar {
198198```
199199"## ,
200200
201-
202- E0590 : r##"
203- `break` or `continue` must include a label when used in the condition of a
204- `while` loop.
205-
206- Example of erroneous code:
207-
208- ```compile_fail
209- while break {}
210- ```
211-
212- To fix this, add a label specifying which loop is being broken out of:
213- ```
214- 'foo: while break 'foo {}
215- ```
216- "## ,
217-
218201E0571 : r##"
219202A `break` statement with an argument appeared in a non-`loop` loop.
220203
@@ -249,6 +232,22 @@ let result = loop { // ok!
249232```
250233"## ,
251234
235+ E0590 : r##"
236+ `break` or `continue` must include a label when used in the condition of a
237+ `while` loop.
238+
239+ Example of erroneous code:
240+
241+ ```compile_fail
242+ while break {}
243+ ```
244+
245+ To fix this, add a label specifying which loop is being broken out of:
246+ ```
247+ 'foo: while break 'foo {}
248+ ```
249+ "## ,
250+
252251E0642 : r##"
253252Trait methods currently cannot take patterns as arguments.
254253
@@ -270,6 +269,18 @@ trait Foo {
270269```
271270"## ,
272271
272+ E0670 : r##"
273+ Rust 2015 does not permit the use of `async fn`.
274+
275+ Example of erroneous code:
276+
277+ ```compile_fail,E0670
278+ async fn foo() {}
279+ ```
280+
281+ Switch to the Rust 2018 edition to use `async fn`.
282+ "## ,
283+
273284E0695 : r##"
274285A `break` statement without a label appeared inside a labeled block.
275286
@@ -307,18 +318,6 @@ loop {
307318}
308319```
309320"## ,
310-
311- E0670 : r##"
312- Rust 2015 does not permit the use of `async fn`.
313-
314- Example of erroneous code:
315-
316- ```compile_fail,E0670
317- async fn foo() {}
318- ```
319-
320- Switch to the Rust 2018 edition to use `async fn`.
321- "## ,
322321;
323322 E0226 , // only a single explicit lifetime bound is permitted
324323 E0472 , // asm! is unsupported on this target
0 commit comments