Files
rust/clippy_utils/src
Samuel Tardieu 89f7a4301d Properly check that an expression might be the one returned
The `TyCtxt::hir_get_fn_id_for_return_block()` function was too broad,
as it will return positively even when given part of an expression that can
be used as a return value. A new `potential_return_of_enclosing_body()`
utility function has been made to represent the fact that an expression
might be directly returned from its enclosing body.
2025-06-23 18:30:27 +02:00
..
2025-06-20 09:42:28 +02:00
2025-06-03 08:23:21 +10:00