Sign in
rust
/
rust
/
fc47fbcf511aa43ef69c7de4f2c32cd6c6d17527
/
.
/
compiler
/
rustc_error_codes
/
src
/
error_codes
/
E0670.md
blob: 74c1af06cf4ec6e48369905b79d671d1dbc2114a [
file
] [
view
]
Rust
2015
does
not
permit the
use
of
`async fn`
.
Erroneous
code example
:
```compile_fail,E0670
async fn foo() {}
```
Switch
to the
Rust
2018
edition to
use
`async fn`
.