Skip to content

Commit

Permalink
Disable 2018->2021 in cargo fix for now, as 2021 lints are not ready.
Browse files Browse the repository at this point in the history
  • Loading branch information
m-ou-se committed Jan 5, 2021
1 parent a836b92 commit bc0c820
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cargo/ops/fix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -699,7 +699,7 @@ impl FixArgs {
fn next_edition(&self) -> Edition {
match self.enabled_edition {
None | Some(Edition::Edition2015) => Edition::Edition2018,
Some(Edition::Edition2018) => Edition::Edition2021,
Some(Edition::Edition2018) => Edition::Edition2018, // TODO: Change to 2021 when rustc is ready for it.
Some(Edition::Edition2021) => Edition::Edition2021,
}
}
Expand Down

0 comments on commit bc0c820

Please sign in to comment.