about summary refs log tree commit diff
path: root/src/liballoc/sync.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-01-15 16:28:06 +0000
committerbors <bors@rust-lang.org>2020-01-15 16:28:06 +0000
commitfaf45c5dadc04e2ee2f2b772402321e621899641 (patch)
tree4caa014e52b4dc5531790aab1c823274e1336939 /src/liballoc/sync.rs
parent6d0bb91bcba33a70fae4b0c663fb4403ed78f071 (diff)
parent69ffe7bb1314ccfdbde419d242cf636413dfd5f6 (diff)
downloadrust-faf45c5dadc04e2ee2f2b772402321e621899641.tar.gz
rust-faf45c5dadc04e2ee2f2b772402321e621899641.zip
Auto merge of #67603 - oli-obk:no_mut_static_ref_from_const, r=RalfJung
Promoteds can contain raw pointers, but these must still only point to immutable allocations

fixes #67601

r? @RalfJung

cc @wesleywiser in order to not change behaviour in this PR, const prop uses the constant rules for interning, but at least there's an explicit mode for it now that we can think about this in the future
Diffstat (limited to 'src/liballoc/sync.rs')
0 files changed, 0 insertions, 0 deletions