From 4505579713572448c9f53811aae37c09ad7787eb Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Sun, 22 May 2022 08:10:53 +0200 Subject: [PATCH] adjust transmute const stabilization version --- library/core/src/intrinsics.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/core/src/intrinsics.rs b/library/core/src/intrinsics.rs index 88e4262922d..a687a6038dc 100644 --- a/library/core/src/intrinsics.rs +++ b/library/core/src/intrinsics.rs @@ -1141,7 +1141,7 @@ extern "rust-intrinsic" { /// } /// ``` #[stable(feature = "rust1", since = "1.0.0")] - #[rustc_const_stable(feature = "const_transmute", since = "1.46.0")] + #[rustc_const_stable(feature = "const_transmute", since = "1.56.0")] #[rustc_diagnostic_item = "transmute"] pub fn transmute(e: T) -> U;