]> git.lizzy.rs Git - rust.git/blobdiff - library/panic_abort/src/lib.rs
Auto merge of #95689 - lqd:self-profiler, r=wesleywiser
[rust.git] / library / panic_abort / src / lib.rs
index 5c5632a9d0164e056d72af2264e68a519d0d18bf..2bcb3182a7bf2eac0ec9b998ba0c78350bcfc1f1 100644 (file)
@@ -65,6 +65,7 @@ unsafe fn abort() -> ! {
             //
             // Note: this is the same implementation as in libstd's `abort_internal`
             unsafe fn abort() -> ! {
+                #[allow(unused)]
                 const FAST_FAIL_FATAL_APP_EXIT: usize = 7;
                 cfg_if::cfg_if! {
                     if #[cfg(any(target_arch = "x86", target_arch = "x86_64"))] {