Skip to content

Commit

Permalink
Deny unwrap usage in proc macros
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasAlaif committed Sep 30, 2022
1 parent 6c8ddfd commit 47ff62e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions prusti-contracts/prusti-specs/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
#![feature(proc_macro_span)]
#![feature(if_let_guard)]
#![feature(assert_matches)]
// Panics in procedural macros are really hard to debug!
#![deny(clippy::unwrap_used)]
// This Clippy chcek seems to be always wrong.
#![allow(clippy::iter_with_drain)]

Expand Down

0 comments on commit 47ff62e

Please sign in to comment.