From bc0c820013860264fe6c0933daf0824649707423 Mon Sep 17 00:00:00 2001 From: Mara Bos Date: Tue, 5 Jan 2021 16:30:42 +0100 Subject: [PATCH] Disable 2018->2021 in cargo fix for now, as 2021 lints are not ready. --- src/cargo/ops/fix.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cargo/ops/fix.rs b/src/cargo/ops/fix.rs index fb12c4d49e5..1ebcef67bbc 100644 --- a/src/cargo/ops/fix.rs +++ b/src/cargo/ops/fix.rs @@ -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, } }