When using rustic-mode + Emacs, saving in a file that has the async keyword
pops up an error box because the edition isn’t specified for rustfmt itself.
Adding a rustfmt.toml file with edition = "2018" lets rustfmt know that the
codebase is indeed 2018-edition Rust.
When using rustic-mode + Emacs, saving in a file that has the
async
keyword pops up an error box because the edition isn’t specified for rustfmt itself. Adding a rustfmt.toml file withedition = "2018"
lets rustfmt know that the codebase is indeed 2018-edition Rust.