about summary refs log tree commit diff
path: root/tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
diff options
context:
space:
mode:
authorMartin Nordholts <martin.nordholts@codetale.se>2023-12-28 18:03:16 +0100
committerMartin Nordholts <martin.nordholts@codetale.se>2023-12-28 19:46:40 +0100
commite0c626fbbc65fe8dfe2f929c04fe07136a075a06 (patch)
treec6297115307598d17041440c3ca1e9df36fa2f37 /tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
parenteef02c453fa39d4683f894ec78873a6db3899684 (diff)
downloadrust-e0c626fbbc65fe8dfe2f929c04fe07136a075a06.tar.gz
rust-e0c626fbbc65fe8dfe2f929c04fe07136a075a06.zip
rustc_lint: Prevent multiple 'lint ignored' lints
Prevent multiple 'ignored unless specified at crate level' lints. The
multiplication happens because we run the same lint three times:
* In BuiltinCombinedEarlyLintPass
* In BuiltinCombinedPreExpansionLintPass
* In shallow_lint_levels_on

Only run the lint one time by checking the `lint_added_lints` bool.
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions