Skip to content

Commit 833eb19

Browse files
committed
Warn on missing debug implementations
This was removed by accident; only the `feature = "rustc-dep-of-std"` gate should have been removed. Fixes: a6e7563 ("Always implement `Debug`")
1 parent dcde5cd commit 833eb19

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/lib.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@
99
unused_macros,
1010
unused_macro_rules,
1111
)]
12+
#![warn(
13+
missing_copy_implementations,
14+
missing_debug_implementations,
15+
safe_packed_borrows
16+
)]
1217
// Prepare for a future upgrade
1318
#![warn(rust_2024_compatibility)]
1419
// Things missing for 2024 that are blocked on MSRV or breakage
@@ -22,7 +27,6 @@
2227
// Attributes needed when building as part of the standard library
2328
#![cfg_attr(feature = "rustc-dep-of-std", feature(link_cfg, no_core))]
2429
#![cfg_attr(feature = "rustc-dep-of-std", allow(internal_features))]
25-
#![warn(missing_copy_implementations, safe_packed_borrows)]
2630
#![cfg_attr(not(feature = "rustc-dep-of-std"), no_std)]
2731
#![cfg_attr(feature = "rustc-dep-of-std", no_core)]
2832

0 commit comments

Comments
 (0)