about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/counters.rs
diff options
context:
space:
mode:
authorTomasz Miąsko <tomasz.miasko@gmail.com>2021-10-30 00:00:00 +0000
committerTomasz Miąsko <tomasz.miasko@gmail.com>2021-11-03 16:43:12 +0100
commitbc4931ed7e98084480b82ef236d6c5c713645ea5 (patch)
tree66af2f3daa9677a105c41c603252a655cd42056b /compiler/rustc_mir_transform/src/coverage/counters.rs
parentb285e0c5d828d958ac22efa1e82648b178d1cbd5 (diff)
downloadrust-bc4931ed7e98084480b82ef236d6c5c713645ea5.tar.gz
rust-bc4931ed7e98084480b82ef236d6c5c713645ea5.zip
`addr_of!` grants mutable access, maybe?
The exact set of permissions granted when forming a raw reference is
currently undecided https://github.com/rust-lang/rust/issues/56604.

To avoid presupposing any particular outcome, adjust the const
qualification to be compatible with decision where raw reference
constructed from `addr_of!` grants mutable access.
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/counters.rs')
0 files changed, 0 insertions, 0 deletions