rust/tests
llogiq 459364b971
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
2025-05-12 16:01:55 +00:00
..
test_utils
ui return_and_then: only lint returning expressions (#14783) 2025-05-12 16:01:55 +00:00
ui-cargo Merge commit '9f9a822509' into clippy-subtree-update 2025-02-28 23:27:09 +01:00
ui-internal Replace Symbol::as_str usage in match expressions 2025-05-07 13:52:11 +00:00
ui-toml Resolve through local re-exports in lookup_path 2025-05-09 22:13:35 +00:00
workspace_test
check-fmt.rs
clippy.toml Merge commit '0621446356' into clippy-subtree-update 2025-04-22 18:24:43 +02:00
compile-test.rs Remove some unused #![feature]s 2025-05-06 14:07:39 +00:00
config-metadata.rs Merge commit 'a109190d70' into clippy-subtree-update 2024-10-18 13:44:06 +02:00
dogfood.rs Fix diagnostic paths printed by dogfood test 2025-05-07 14:32:23 +00:00
headers.rs
integration.rs Use tempfile::TempDir::keep() instead of deprecated into_path() 2025-05-12 09:01:42 +02:00
lint_message_convention.rs Merge commit '1e5237f4a5' into clippy-subtree-update 2025-03-20 22:34:29 +01:00
missing-test-files.rs Merge commit '51d49c1ae2' into clippy-subtree-update 2025-01-28 19:33:54 +01:00
versioncheck.rs Clippy: skip check_host_compiler check in rustc testsuite 2025-02-28 23:27:22 +01:00
workspace.rs