mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 23:12:02 +00:00
adjust transmute const stabilization version
This commit is contained in:
parent
09ea21343a
commit
4505579713
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user