提交 45055797 编写于 作者: R Ralf Jung

adjust transmute const stabilization version

上级 09ea2134
......@@ -1141,7 +1141,7 @@ pub unsafe fn drop_in_place<T: ?Sized>(to_drop: *mut T) {
/// }
/// ```
#[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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册