mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-04 01:42:54 +03:00
f8ab56bf32
Add edition 2021. 🎆 Happy new ~~year~~ Rust. 🍾 This adds --edition=2021, and updates suggestions about 2018 to say "2018 *or later*". Related Cargo PR: https://github.com/rust-lang/cargo/pull/8922 --- Edit: This adds the new edition as *unstable*. Without `-Z unstable-options`, `--edition=2021` results in: ``` $ rustc --edition=2021 error: edition 2021 is unstable and only available with -Z unstable-options. ```