You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently upgraded my project to rust 2021 edition, but rustfmt is no longer working (both on computer and ci with the latest nightly).
To reproduce:
> git clone https://github.com/Luro02/array-map
> cd array-map
> cargo fmt --all -- --check
Invalid value for `--edition`
This issue is not only limited to this project, one can also reproduce it by running cargo new help and changing the Cargo.toml to:
+ cargo-features = ["edition2021"]+
[package]
name = "help"
version = "0.1.0"
+ edition = "2021"- edition = "2018"# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
I recently upgraded my project to rust 2021 edition, but rustfmt is no longer working (both on computer and ci with the latest nightly).
To reproduce:
This issue is not only limited to this project, one can also reproduce it by running
cargo new help
and changing theCargo.toml
to:This may be related to #4916
The text was updated successfully, but these errors were encountered: