mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-04 09:53:04 +03:00
9a4417659e
Properly recover from trailing attr in body 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, fix #118575.