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