about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
diff options
context:
space:
mode:
authorPhilipp Krones <hello@philkrones.com>2025-03-23 11:17:46 +0000
committerGitHub <noreply@github.com>2025-03-23 11:17:46 +0000
commitcad9083d7109a9003111c5ab886749b4c11cd250 (patch)
tree8291cbf426cdfb01af23408ac6dbde6a8ce178a9 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
parentc033a4c741bc7e8db0ffa49c110377f602d5c61c (diff)
parent82381608c993262b562e56b8b52ff47b42650c8e (diff)
downloadrust-cad9083d7109a9003111c5ab886749b4c11cd250.tar.gz
rust-cad9083d7109a9003111c5ab886749b4c11cd250.zip
Lint more cases in `collapsible_if` (#14231)
Replace the use of `Sugg::ast()` which prevented combining `if` together
when they contained comments by span manipulation.

A new configuration option `lint_commented_code`, which is `true` by
default, allows opting out from this behavior.

If reviewed on GitHub, the second commit of this PR is best looked at
side by side, with whitespace differences turned off.

changelog: [`collapsible_if`]: lint more cases
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions