about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-11-06 18:12:57 +0000
committerbors <bors@rust-lang.org>2019-11-06 18:12:57 +0000
commit38048763e885a3ee139abf39d59a530b16484150 (patch)
treeeebdd688668c68e916174d7ab859f964a59feff9 /src/libstd/sys/unix/stack_overflow.rs
parent3f0e16473de5ec010f44290a8c3ea1d90e0ad7a2 (diff)
parent420457e5ca9e724b045fc45f6b05dac8476a5ef4 (diff)
downloadrust-38048763e885a3ee139abf39d59a530b16484150.tar.gz
rust-38048763e885a3ee139abf39d59a530b16484150.zip
Auto merge of #65728 - ecstatic-morse:promotion-const-proj, r=eddyb
Fix promotion in a `const` when projections are present

Resolves #65727.

This marks the entire local as "needs promotion" when only a projection of that local appears in a promotable context. This should only affect promotion in a `const` or `static`, not in a `fn` or `const fn`, which is handled in `promote_consts.rs`.

r? @eddyb
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions