Skip to content

Commit 91b0bd0

Browse files
committed
Undo fn -> const fn for all intrinsics but assert_inhabited
1 parent 2821b05 commit 91b0bd0

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

core/src/intrinsics.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -822,14 +822,12 @@ extern "rust-intrinsic" {
822822
/// zero-initialization: This will statically either panic, or do nothing.
823823
///
824824
/// This intrinsic does not have a stable counterpart.
825-
#[rustc_const_unstable(feature = "const_assert_type", issue = "none")]
826825
pub fn assert_zero_valid<T>();
827826

828827
/// A guard for unsafe functions that cannot ever be executed if `T` has invalid
829828
/// bit patterns: This will statically either panic, or do nothing.
830829
///
831830
/// This intrinsic does not have a stable counterpart.
832-
#[rustc_const_unstable(feature = "const_assert_type", issue = "none")]
833831
pub fn assert_uninit_valid<T>();
834832

835833
/// Gets a reference to a static `Location` indicating where it was called.

0 commit comments

Comments
 (0)