mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-04 09:44:40 +00:00
Render the `box` pattern removal diagnostic more actionable & remove `box` expression recovery Follow-up to https://github.com/rust-lang/rust/pull/156749. This way, users don't have to comb through (probably outdated) tracking issues trying to piece together how to fix their code (in the most idiomatic way). Lemme know if you think this is unnecessary. Re. `box` expression removal, see https://github.com/rust-lang/rust/pull/162008#issuecomment-5468614277 (TL;DR: it's been 3 years). cc @cyrgani <sub>(No LLM was or will be used by me during the entire creation process of this PR)</sub>