Skip to content

Commit 01a21fb

Browse files
committed
Check signature of intrinsics with fallback bodies
1 parent e1f7382 commit 01a21fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/intrinsics.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2590,7 +2590,7 @@ pub const unsafe fn is_val_statically_known<T: Copy>(_arg: T) -> bool {
25902590
#[rustc_const_unstable(feature = "delayed_debug_assertions", issue = "none")]
25912591
#[unstable(feature = "core_intrinsics", issue = "none")]
25922592
#[cfg_attr(not(bootstrap), rustc_intrinsic)]
2593-
pub(crate) const fn debug_assertions() -> bool {
2593+
pub(crate) const unsafe fn debug_assertions() -> bool {
25942594
cfg!(debug_assertions)
25952595
}
25962596

0 commit comments

Comments
 (0)