diff options
| author | llogiq <bogusandre@gmail.com> | 2025-05-12 16:01:55 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-12 16:01:55 +0000 |
| commit | 459364b971c717462e99848ceba3eb545867ee33 (patch) | |
| tree | 57b3d281ea22756c67a1a1e597a794da676321d8 /src/test/rustdoc-ui/coverage/enum-tuple.rs | |
| parent | 62ba9969a4969574716e52dac1a28a11202c0ea2 (diff) | |
| parent | c040e9f6fc51f9198cab65f021cd80a14fae5f52 (diff) | |
| download | rust-459364b971c717462e99848ceba3eb545867ee33.tar.gz rust-459364b971c717462e99848ceba3eb545867ee33.zip | |
`return_and_then`: only lint returning expressions (#14783)
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. changelog: [`return_and_then`]: only lint returning expressions Fixes rust-lang/rust-clippy#14781
Diffstat (limited to 'src/test/rustdoc-ui/coverage/enum-tuple.rs')
0 files changed, 0 insertions, 0 deletions
