-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: check that warnings are denied #1918
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: 0 of 1 files reviewed, 1 unresolved discussion
crates/mempool/src/mempool.rs
line 364 at r1 (raw file):
} pub struct dont_merge_me;
DONTMERGE
337de5c
to
c9436fe
Compare
e5a4764
to
9803790
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## gilad/remove-clippy-sh #1918 +/- ##
==========================================================
- Coverage 76.50% 2.73% -73.77%
==========================================================
Files 373 107 -266
Lines 39965 13622 -26343
Branches 39965 13622 -26343
==========================================================
- Hits 30575 373 -30202
- Misses 7114 13232 +6118
+ Partials 2276 17 -2259 ☔ View full report in Codecov by Sentry. |
c9436fe
to
f3383ae
Compare
9803790
to
1658b69
Compare
9144e78
to
bcbdcba
Compare
1658b69
to
8efbf7b
Compare
bcbdcba
to
be8296c
Compare
a673216
to
e0cbd1b
Compare
scripts/run_tests.py
Outdated
@@ -25,7 +25,7 @@ class BaseCommand(Enum): | |||
|
|||
def cmd(self, crates: Set[str]) -> List[str]: | |||
package_args = [] | |||
operands = ["--", "-Dwarnings"] # "--" must be the first element. | |||
operands = ["--", "-D", "warnings"] # "--" must be the first element. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The rustc flag needs to be a single argument: -Dwarnings
. Splitting it into -D
and warnings
will cause the compiler to interpret these as separate flags. The line should be:
operands = ["--", "-Dwarnings"]
Spotted by Graphite Reviewer
Is this helpful? React 👍 or 👎 to let us know.
be8296c
to
c73f168
Compare
e0cbd1b
to
3bbcb23
Compare
ee13d10
to
1040e9b
Compare
3bbcb23
to
cd05e6b
Compare
1040e9b
to
f82884d
Compare
cd05e6b
to
c07bb28
Compare
dfc9bca
to
2ebc0c8
Compare
c07bb28
to
dae2f3b
Compare
2ebc0c8
to
2e7756a
Compare
DONTMERGE
dae2f3b
to
746edeb
Compare
DONTMERGE