diff options
| author | bors <bors@rust-lang.org> | 2019-11-06 18:12:57 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2019-11-06 18:12:57 +0000 |
| commit | 38048763e885a3ee139abf39d59a530b16484150 (patch) | |
| tree | eebdd688668c68e916174d7ab859f964a59feff9 /src/libstd/sys/unix/stack_overflow.rs | |
| parent | 3f0e16473de5ec010f44290a8c3ea1d90e0ad7a2 (diff) | |
| parent | 420457e5ca9e724b045fc45f6b05dac8476a5ef4 (diff) | |
| download | rust-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
