From a89a4faa49ed1908c4b7efe483e194c1a9379b33 Mon Sep 17 00:00:00 2001 From: dotCooCoo Date: Wed, 18 Nov 2026 17:09:06 -0800 Subject: [PATCH] IPP: the re-export crate keeps the never-crash lints #15684 replaced crates/ipp/src/lib.rs with a re-export of craft_ipp and dropped the crate's forbid(unsafe_code) and never-crash deny lines. The scorecard counts that attribute on every crate root, so docs/scorecard.md went stale on main and `scorecard::tests::staleness_check_and_determinism` and the lint job's `scorecard` step fail on every pull request. This puts the two lines back, so the scorecard reads 25 of 25 again and matches the committed docs/scorecard.md. --- crates/ipp/src/lib.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/crates/ipp/src/lib.rs b/crates/ipp/src/lib.rs index 0110914d8f0..e849c3f7913 100644 --- a/crates/ipp/src/lib.rs +++ b/crates/ipp/src/lib.rs @@ -1,3 +1,6 @@ //! Re-exports [`craft_ipp`] for backward compatibility with `photocraft-ipp`. +#![forbid(unsafe_code)] +#![deny(clippy::unwrap_used, clippy::expect_used, clippy::panic, clippy::unimplemented, clippy::todo, clippy::unreachable)] + pub use craft_ipp::*;