about summary refs log tree commit diff
path: root/src/test/ui/async-await/async-block-control-flow-static-semantics.rs
diff options
context:
space:
mode:
authorCamille GILLOT <gillot.camille@gmail.com>2022-03-29 17:11:12 +0200
committerCamille GILLOT <gillot.camille@gmail.com>2022-03-29 18:50:52 +0200
commit21a554caf680b74ee6270d3a61b0336b643c5456 (patch)
treee292c7ada14407a4008626d27304c3f7b244e6c9 /src/test/ui/async-await/async-block-control-flow-static-semantics.rs
parent11909e3588319235e28e99294e17cca11db1d7e2 (diff)
downloadrust-21a554caf680b74ee6270d3a61b0336b643c5456.tar.gz
rust-21a554caf680b74ee6270d3a61b0336b643c5456.zip
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.
Diffstat (limited to 'src/test/ui/async-await/async-block-control-flow-static-semantics.rs')
0 files changed, 0 insertions, 0 deletions