diff --git a/Cargo.toml b/Cargo.toml index d151ca5..ca2d5c2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -34,3 +34,7 @@ clone_on_ref_ptr = "deny" shadow_reuse = "deny" shadow_same = "deny" shadow_unrelated = "deny" + +# Force using expect and providing a reason +allow_attributes = "deny" +allow_attributes_without_reason = "deny"