mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-05 03:36:21 +00:00

When encountering an attribute in a body, we try to recover from an attribute on an expression (as opposed to a statement). We need to properly clean up when the attribute is at the end of the body where a tail expression would be. Fix #118164.