mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-03 17:48:43 +00:00
[`missing_const_for_fn`]: Ensure dropped locals are `~const Destruct` this will check every local for `TerminatorKind::Drop` to ensure they can be evaluated at compile time, not sure if this is the best way to do this but MIR is confusing and it works so... fixes #10617 changelog: [`missing_const_for_fn`]: Ensure dropped locals are `~const Destruct`