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