• D
    Rollup merge of #73600 - Aaron1011:fix/move-in-macro, r=ecstatic-morse · b3d99cb6
    Dylan DPC 提交于
    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.
    b3d99cb6
conflict_errors.rs 77.6 KB