Skip to content

Commit bc0c820

Browse files
committed
Disable 2018->2021 in cargo fix for now, as 2021 lints are not ready.
1 parent a836b92 commit bc0c820

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cargo/ops/fix.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -699,7 +699,7 @@ impl FixArgs {
699699
fn next_edition(&self) -> Edition {
700700
match self.enabled_edition {
701701
None | Some(Edition::Edition2015) => Edition::Edition2018,
702-
Some(Edition::Edition2018) => Edition::Edition2021,
702+
Some(Edition::Edition2018) => Edition::Edition2018, // TODO: Change to 2021 when rustc is ready for it.
703703
Some(Edition::Edition2021) => Edition::Edition2021,
704704
}
705705
}

0 commit comments

Comments
 (0)