Skip to content

Commit 5fc8cbb

Browse files
committed
Allow the lint on process::abort_immediate
1 parent d96b2fc commit 5fc8cbb

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

library/core/src/process.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
#[cold]
3939
#[cfg_attr(miri, track_caller)] // even without panics, this helps for Miri backtraces
4040
#[doc(alias = "halt")]
41+
#[allow(rustc::missing_panic_entrypoint)]
4142
pub fn abort_immediate() -> ! {
4243
crate::intrinsics::abort()
4344
}

0 commit comments

Comments
 (0)