From 6a78bba60521ee9f47a391d34facb37f84a48070 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Sun, 14 Apr 2024 17:48:33 -0700 Subject: [PATCH] Raise default edition of rust-lang/rust test files to 2021 --- tests/repo/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/repo/mod.rs b/tests/repo/mod.rs index 6aedd2ccdf..420cda6942 100644 --- a/tests/repo/mod.rs +++ b/tests/repo/mod.rs @@ -294,7 +294,7 @@ pub fn edition(path: &Path) -> &'static str { if path.ends_with("dyn-2015-no-warnings-without-lints.rs") { "2015" } else { - "2018" + "2021" } }