Sign in
◑
Theme
rust
/
rust
/
e1663b69bf6e0f5b69c3490b7f66cb8a2113bb99
/
.
/
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`
.