Skip to content

Commit

Permalink
Merge pull request #144 from HadrienG2/silence-proptest-derive-warning
Browse files Browse the repository at this point in the history
Silence warning triggered by the proptest_derive implementation
  • Loading branch information
HadrienG2 committed May 4, 2024
2 parents d437a51 + 94ef9e1 commit ee5500f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmakeperf/src/commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,10 @@ pub enum DatabaseLoadError {
}

/// One entry from the compilation database
//
// NOTE: allow() directive added as a workaround for
// https://github.com/proptest-rs/proptest/issues/447
#[allow(unknown_lints, non_local_definitions)]
#[cfg_attr(test, derive(proptest_derive::Arbitrary))]
#[derive(Clone, Debug, Deserialize, Eq, Hash, PartialEq)]
#[serde(deny_unknown_fields)]
Expand Down

0 comments on commit ee5500f

Please sign in to comment.