adjust transmute const stabilization version

This commit is contained in:
Ralf Jung 2022-05-22 08:10:53 +02:00
parent 09ea21343a
commit 4505579713

View File

@ -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<T, U>(e: T) -> U;