diff options
| author | Mara Bos <m-ou.se@m-ou.se> | 2021-08-30 15:33:09 +0200 |
|---|---|---|
| committer | Mara Bos <m-ou.se@m-ou.se> | 2021-08-30 15:33:09 +0200 |
| commit | 6adbbb6be744a4af51b981826a11ada75b9666a7 (patch) | |
| tree | 64359b1c4b015fffb8197972fc147fa3ca7d92b5 | |
| parent | 4bed11a109dbecc167298f163543ecfcd2abab63 (diff) | |
| download | rust-6adbbb6be744a4af51b981826a11ada75b9666a7.tar.gz rust-6adbbb6be744a4af51b981826a11ada75b9666a7.zip | |
Update LATEST_STABLE_EDITION to 2021.
| -rw-r--r-- | compiler/rustc_span/src/edition.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_span/src/edition.rs b/compiler/rustc_span/src/edition.rs index 485d7cb0d67..511c2e86626 100644 --- a/compiler/rustc_span/src/edition.rs +++ b/compiler/rustc_span/src/edition.rs @@ -32,7 +32,7 @@ pub const EDITION_NAME_LIST: &str = "2015|2018|2021"; pub const DEFAULT_EDITION: Edition = Edition::Edition2015; -pub const LATEST_STABLE_EDITION: Edition = Edition::Edition2018; +pub const LATEST_STABLE_EDITION: Edition = Edition::Edition2021; impl fmt::Display for Edition { fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { |
