about summary refs log tree commit diff
path: root/tests/codegen-llvm/src-hash-algorithm/src-hash-algorithm-md5.rs
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2025-05-11 17:33:20 +0200
committerSamuel Tardieu <sam@rfc1149.net>2025-05-11 18:43:01 +0200
commitc040e9f6fc51f9198cab65f021cd80a14fae5f52 (patch)
tree0e032a310b8f86533edbd3929373724ca04c75a7 /tests/codegen-llvm/src-hash-algorithm/src-hash-algorithm-md5.rs
parent7f6d507bba4ed88e996b84b642e661a9672440a4 (diff)
downloadrust-c040e9f6fc51f9198cab65f021cd80a14fae5f52.tar.gz
rust-c040e9f6fc51f9198cab65f021cd80a14fae5f52.zip
`return_and_then`: only lint returning expressions
If an expression is not going to return from the current function of
closure, it should not get linted.

This also allows `return` expression to be linted, in addition to the
final expression. Those require blockification and proper indentation.
Diffstat (limited to 'tests/codegen-llvm/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions