1
Fork 0
rust/compiler/rustc_const_eval/src/transform/check_consts
Tomasz Miąsko bc4931ed7e 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.
2021-11-03 16:43:12 +01:00
..
check.rs Auto merge of #90214 - tmiasko:indirect-mutation-qualif, r=ecstatic-morse,oli-obk 2021-10-29 08:38:39 +00:00
mod.rs Clean up special function const checks 2021-10-25 17:32:01 +01:00
ops.rs Rollup merge of #89482 - hkmatsumoto:patch-diagnostics, r=joshtriplett 2021-10-04 23:56:23 -07:00
post_drop_elaboration.rs Rename needs_drop to needs_non_const_drop 2021-10-18 20:51:22 +02:00
qualifs.rs Use type based qualification for unions 2021-10-28 00:00:00 +00:00
resolver.rs addr_of! grants mutable access, maybe? 2021-11-03 16:43:12 +01:00