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 29, 2022
1 parent 5888f0c commit bb590c9
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 bb590c9

Please sign in to comment.