mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-01 07:13:24 +03:00
a40c595695
Remember mutability in `DefKind::Static`. This allows to compute the `BodyOwnerKind` from `DefKind` only, and removes a direct dependency of some MIR queries onto HIR. As a side effect, it also simplifies metadata, since we don't need 4 flavours of `EntryKind::*Static` any more.