about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/counters.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-11-03 18:13:11 +0000
committerbors <bors@rust-lang.org>2021-11-03 18:13:11 +0000
commitbaba6687df3e83fdb15cc6ec239b4a1c75a30505 (patch)
tree6cb8a6c777f99c2dffb8d002b169d27acdde1779 /compiler/rustc_mir_transform/src/coverage/counters.rs
parent7734cb80782e65875994ee4709b7752623ea9ed2 (diff)
parentbc4931ed7e98084480b82ef236d6c5c713645ea5 (diff)
downloadrust-baba6687df3e83fdb15cc6ec239b4a1c75a30505.tar.gz
rust-baba6687df3e83fdb15cc6ec239b4a1c75a30505.zip
Auto merge of #90413 - tmiasko:addr-of-mutable, r=RalfJung,oli-obk
`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.

Additionally, to avoid keeping `MaybeMutBorrowedLocals` in sync with
const qualification, remove it. It's no longer used.

`@rust-lang/wg-const-eval`
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/counters.rs')
0 files changed, 0 insertions, 0 deletions