Skip to content

Commit 6adbbb6

Browse files
committed
Update LATEST_STABLE_EDITION to 2021.
1 parent 4bed11a commit 6adbbb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_span/src/edition.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ pub const EDITION_NAME_LIST: &str = "2015|2018|2021";
3232

3333
pub const DEFAULT_EDITION: Edition = Edition::Edition2015;
3434

35-
pub const LATEST_STABLE_EDITION: Edition = Edition::Edition2018;
35+
pub const LATEST_STABLE_EDITION: Edition = Edition::Edition2021;
3636

3737
impl fmt::Display for Edition {
3838
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {

0 commit comments

Comments
 (0)