From 0f367a9be89c58087e6a3373125a230698287ed9 Mon Sep 17 00:00:00 2001 From: Charles Lew Date: Sun, 11 Sep 2022 13:57:41 +0800 Subject: [PATCH] Use current rustc version. --- compiler/rustc_feature/src/active.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/rustc_feature/src/active.rs b/compiler/rustc_feature/src/active.rs index c2cc4d7923b..5377ebde168 100644 --- a/compiler/rustc_feature/src/active.rs +++ b/compiler/rustc_feature/src/active.rs @@ -395,7 +395,7 @@ declare_features! ( /// Allows using `#[repr(align(...))]` on function items (active, fn_align, "1.53.0", Some(82232), None), /// Allows generators to be cloned. - (active, generator_clone, "1.60.0", Some(95360), None), + (active, generator_clone, "CURRENT_RUSTC_VERSION", Some(95360), None), /// Allows defining generators. (active, generators, "1.21.0", Some(43122), None), /// Infer generic args for both consts and types.