-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This makes sure that we're not responsible for Clippy triggering in the user's code. Not sure whether Clippy is *supposed* to trigger in macro output, but it is what it is. To run clippy on the test suite we need to use the --all --all-targets flags, which have a side effect of Clippy finding the benches/ directory even though it has been commented out in Cargo.toml. This means we can no longer keep the criterion dev-dependency commented out.
- Loading branch information
1 parent
8d9e3ef
commit a4b96e4
Showing
4 changed files
with
21 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
use enumflags2::bitflags; | ||
// "an inner attribute is not permitted in this context" :/ | ||
#[deny(clippy::all, clippy::pedantic, clippy::nursery)] | ||
mod everything { | ||
|
||
include!("../common.rs"); | ||
use enumflags2::bitflags; | ||
|
||
include!("../common.rs"); | ||
} |