diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2020-06-23 03:16:26 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-23 03:16:26 +0200 |
| commit | b3d99cb63f3125a7b7a5c7cdaa99b7561517d11b (patch) | |
| tree | fb2f3925ed6bc4f04acd83dcef22c85f2592180d /src/libstd/sys/unix/stack_overflow.rs | |
| parent | 490d820a25a37369f67a44fecf3805560835c527 (diff) | |
| parent | 953104e60cac57929846a3c3b776f12135c4b398 (diff) | |
| download | rust-b3d99cb63f3125a7b7a5c7cdaa99b7561517d11b.tar.gz rust-b3d99cb63f3125a7b7a5c7cdaa99b7561517d11b.zip | |
Rollup merge of #73600 - Aaron1011:fix/move-in-macro, r=ecstatic-morse
Fix spurious 'value moved here in previous iteration of loop' messages Fixes #46099 Previously, we would check the 'move' and 'use' spans to see if we should emit this message. However, this can give false positives when macros are involved, since two distinct expressions may end up with the same span. Instead, we check the actual MIR `Location`, which eliminates false positives.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
