From 62b9d4a4ff61bb261d44b9391289238442fb9593 Mon Sep 17 00:00:00 2001 From: Jubilee Date: Fri, 20 Sep 2024 09:48:44 -0700 Subject: [PATCH] `result_ffi_guarantees` stabilizes in `$CURRENT_RUSTC_VERSION` Co-authored-by: Josh Stone --- compiler/rustc_feature/src/accepted.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/rustc_feature/src/accepted.rs b/compiler/rustc_feature/src/accepted.rs index d3c373d52f7..53445804694 100644 --- a/compiler/rustc_feature/src/accepted.rs +++ b/compiler/rustc_feature/src/accepted.rs @@ -355,7 +355,7 @@ macro_rules! declare_features { (accepted, repr_transparent, "1.28.0", Some(43036)), /// Allows enums like Result to be used across FFI, if T's niche value can /// be used to describe E or vice-versa. - (accepted, result_ffi_guarantees, "1.80.0", Some(110503)), + (accepted, result_ffi_guarantees, "CURRENT_RUSTC_VERSION", Some(110503)), /// Allows return-position `impl Trait` in traits. (accepted, return_position_impl_trait_in_trait, "1.75.0", Some(91611)), /// Allows code like `let x: &'static u32 = &42` to work (RFC 1414).