Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rollup of 6 pull requests #70966

Closed
wants to merge 19 commits into from

Commits on Apr 8, 2020

  1. Configuration menu
    Copy the full SHA
    9d13520 View commit details
    Browse the repository at this point in the history

Commits on Apr 9, 2020

  1. Configuration menu
    Copy the full SHA
    f9a691f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e1c838d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    15f8d89 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    44daa45 View commit details
    Browse the repository at this point in the history
  5. improve comments

    mark-i-m committed Apr 9, 2020
    Configuration menu
    Copy the full SHA
    f2e4709 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    444ad62 View commit details
    Browse the repository at this point in the history
  7. Make MaybeStorageLive correct for all kinds of MIR bodies

    Before, it ignored the first argument and marked all variables without
    `Storage*` annotations as dead.
    ecstatic-morse committed Apr 9, 2020
    Configuration menu
    Copy the full SHA
    fcd1f5b View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    335fd6b View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    02c65e1 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    7154860 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    209087b View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    1761a65 View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#70447 - ecstatic-morse:storage-live-always,…

    … r=tmandry
    
    Add utility to find locals that don't use `StorageLive` annotations and use it for `MaybeStorageLive`
    
    Addresses rust-lang#70004 (comment) (cc @RalfJung).
    
    The only dataflow analysis that is incorrect in this case is `MaybeStorageLive`. `transform/generator.rs` implemented custom handling for this class of locals, but other consumers of this analysis (there's one in [clippy](https://github.com/rust-lang/rust-clippy/blob/513b46793e98ce5b412d388a91f6371d6a9b290b/clippy_lints/src/redundant_clone.rs#L402)) would be incorrect.
    
    r? @tmandry
    Dylan-DPC authored Apr 9, 2020
    Configuration menu
    Copy the full SHA
    23425d6 View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#70629 - anyska:fields-variant, r=oli-obk

    rustc_target::abi: add Primitive variant to FieldsShape.
    
    Originally suggested by @eddyb.
    Dylan-DPC authored Apr 9, 2020
    Configuration menu
    Copy the full SHA
    58c7615 View commit details
    Browse the repository at this point in the history
  15. Rollup merge of rust-lang#70913 - eddyb:rc-arc-diagnostic-items, r=ma…

    …tthewjasper
    
    Replace "rc"/"arc" lang items with Rc/Arc diagnostic items.
    
    `Rc`/`Arc` should have no special semantics, so it seems appropriate for them to not be lang items.
    
    r? @matthewjasper
    Dylan-DPC authored Apr 9, 2020
    Configuration menu
    Copy the full SHA
    7c5fef9 View commit details
    Browse the repository at this point in the history
  16. Rollup merge of rust-lang#70932 - mark-i-m:de-abuse-err-2, r=Centril

    De-abuse TyKind::Error in pattern type checking
    
    r? @eddyb
    
    cc rust-lang#70866
    
    In particular, I would appreciate extra scrutiny over the soundness of these changes.
    
    Also, this will go a bit slowly because I'm going to use my other PR (rust-lang#70551) to check if I missed anything.
    Dylan-DPC authored Apr 9, 2020
    Configuration menu
    Copy the full SHA
    853d3bc View commit details
    Browse the repository at this point in the history
  17. Rollup merge of rust-lang#70952 - GuillaumeGomez:cleanup-e0511, r=Dyl…

    …an-DPC
    
    Clean up E0511 explanation
    
    r? @Dylan-DPC
    Dylan-DPC authored Apr 9, 2020
    Configuration menu
    Copy the full SHA
    fbe3977 View commit details
    Browse the repository at this point in the history
  18. Rollup merge of rust-lang#70964 - RalfJung:mark-cli-lint-hack, r=petr…

    …ochenkov
    
    rustc_session CLI lint parsing: mark a temporary hack as such
    
    This code was added in rust-lang#70918, but it should not be necessary any more once `forbid` works as expected for in-code attributes.
    
    Cc @tobithiel @davidtwco
    Dylan-DPC authored Apr 9, 2020
    Configuration menu
    Copy the full SHA
    f124d7f View commit details
    Browse the repository at this point in the history