Sign in
rust
/
rust
/
b032fac34e5be72aa02748eadd4e8d8917a7e758
/
.
/
compiler
/
rustc_error_codes
/
src
/
error_codes
/
E0670.md
blob: 74c1af06cf4ec6e48369905b79d671d1dbc2114a [
file
] [
log
] [
blame
] [
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`
.