For rustfmt to accept modern syntax like "async move", a .rustfmt.toml with "edition = 2018" needs to be created. https://github.com/rust-lang/rustfmt/issues/3149 Signed-off-by: Sergio Lopez <slp@redhat.com>