We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1f7382 commit 01a21fbCopy full SHA for 01a21fb
core/src/intrinsics.rs
@@ -2590,7 +2590,7 @@ pub const unsafe fn is_val_statically_known<T: Copy>(_arg: T) -> bool {
2590
#[rustc_const_unstable(feature = "delayed_debug_assertions", issue = "none")]
2591
#[unstable(feature = "core_intrinsics", issue = "none")]
2592
#[cfg_attr(not(bootstrap), rustc_intrinsic)]
2593
-pub(crate) const fn debug_assertions() -> bool {
+pub(crate) const unsafe fn debug_assertions() -> bool {
2594
cfg!(debug_assertions)
2595
}
2596
0 commit comments