File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -860,12 +860,14 @@ extern "rust-intrinsic" {
860
860
/// zero-initialization: This will statically either panic, or do nothing.
861
861
///
862
862
/// This intrinsic does not have a stable counterpart.
863
+ #[ rustc_const_unstable( feature = "const_assert_type2" , issue = "none" ) ]
863
864
pub fn assert_zero_valid < T > ( ) ;
864
865
865
866
/// A guard for unsafe functions that cannot ever be executed if `T` has invalid
866
867
/// bit patterns: This will statically either panic, or do nothing.
867
868
///
868
869
/// This intrinsic does not have a stable counterpart.
870
+ #[ rustc_const_unstable( feature = "const_assert_type2" , issue = "none" ) ]
869
871
pub fn assert_uninit_valid < T > ( ) ;
870
872
871
873
/// Gets a reference to a static `Location` indicating where it was called.
You can’t perform that action at this time.
0 commit comments