Skip to content

Commit 2377a50

Browse files
authored
Rollup merge of #73436 - GuillaumeGomez:cleanup-e0670, r=Dylan-DPC
Clean up E0670 explanation r? @Dylan-DPC
2 parents 2dbb8b6 + bde1ccf commit 2377a50

File tree

1 file changed

+1
-1
lines changed
  • src/librustc_error_codes/error_codes

1 file changed

+1
-1
lines changed

src/librustc_error_codes/error_codes/E0670.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Rust 2015 does not permit the use of `async fn`.
22

3-
Example of erroneous code:
3+
Erroneous code example:
44

55
```compile_fail,E0670
66
async fn foo() {}

0 commit comments

Comments
 (0)