Skip to content

Commit

Permalink
adjust transmute const stabilization version
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed May 22, 2022
1 parent 09ea213 commit 4505579
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/core/src/intrinsics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 4505579

Please sign in to comment.