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" {
860860 /// zero-initialization: This will statically either panic, or do nothing.
861861 ///
862862 /// This intrinsic does not have a stable counterpart.
863+ #[ rustc_const_unstable( feature = "const_assert_type2" , issue = "none" ) ]
863864 pub fn assert_zero_valid < T > ( ) ;
864865
865866 /// A guard for unsafe functions that cannot ever be executed if `T` has invalid
866867 /// bit patterns: This will statically either panic, or do nothing.
867868 ///
868869 /// This intrinsic does not have a stable counterpart.
870+ #[ rustc_const_unstable( feature = "const_assert_type2" , issue = "none" ) ]
869871 pub fn assert_uninit_valid < T > ( ) ;
870872
871873 /// Gets a reference to a static `Location` indicating where it was called.
You can’t perform that action at this time.
0 commit comments