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 12 pull requests #68034

Merged
merged 35 commits into from
Jan 9, 2020
Merged

Rollup of 12 pull requests #68034

merged 35 commits into from
Jan 9, 2020

Commits on Dec 26, 2019

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

Commits on Jan 5, 2020

  1. Fix incremental builds of core by allowing unused attribute.

    The same problem as in rust-lang#65023 was
    introduced by rust-lang#67657. This works
    around the current incrcomp issue with these attributes by allowing it
    here.
    anp committed Jan 5, 2020
    Configuration menu
    Copy the full SHA
    3458aba View commit details
    Browse the repository at this point in the history

Commits on Jan 7, 2020

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

Commits on Jan 8, 2020

  1. Configuration menu
    Copy the full SHA
    f720469 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c524f3c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    326994d View commit details
    Browse the repository at this point in the history
  4. Spell check librustc_error_codes

    Found one wrongly spelled error message and decided to check all the
    error messages for wrongly spelled statements.
    
    Signed-off-by: wcampbell <wcampbell1995@gmail.com>
    wcampbell0x2a committed Jan 8, 2020
    Configuration menu
    Copy the full SHA
    c9a55fe View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ac3d4cc View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b3b206f View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    41a93cb View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    bcb98bd View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    adaa521 View commit details
    Browse the repository at this point in the history
  10. collector: use impl Trait

    Centril committed Jan 8, 2020
    Configuration menu
    Copy the full SHA
    3eb83f2 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    41453d2 View commit details
    Browse the repository at this point in the history
  12. hir::map: elide & simplify

    Centril committed Jan 8, 2020
    Configuration menu
    Copy the full SHA
    3f13ba8 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    4b08c7e View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    62e9ccb View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    8351667 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    37d76dc View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    922f8b7 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    0997388 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    74ea108 View commit details
    Browse the repository at this point in the history
  20. Fix Typo on cannot "substract"

    Fix Typo on hir::BinOpKind::Sub
    
    "substract" to "subtract"
    
    Fix Typo on "Error cannot substract"
    
    Fix Typo on cannot "substract"
    FSciammarella committed Jan 8, 2020
    Configuration menu
    Copy the full SHA
    7de174b View commit details
    Browse the repository at this point in the history
  21. Rollup merge of rust-lang#67630 - oli-obk:extern_ptr_dangling, r=spas…

    …torino
    
    Treat extern statics just like statics in the "const pointer to static" representation
    
    fixes rust-lang#67612
    
    r? @spastorino
    
    cc @RalfJung this does not affect runtime promotion at all. This is just about promotion within static item bodies.
    Centril authored Jan 8, 2020
    Configuration menu
    Copy the full SHA
    60bef14 View commit details
    Browse the repository at this point in the history
  22. Rollup merge of rust-lang#67747 - estebank:bare-assoc-const, r=Centril

    Explain that associated types and consts can't be accessed directly on the trait's path
    
    Partially address rust-lang#44539.
    Centril authored Jan 8, 2020
    Configuration menu
    Copy the full SHA
    1a0b2a5 View commit details
    Browse the repository at this point in the history
  23. Rollup merge of rust-lang#67884 - anp:allow-unused-const-attr, r=oli-obk

    Fix incremental builds of core by allowing unused attribute.
    
    I *think* that the same problem as in rust-lang#65023 was introduced by rust-lang#67657. This works around the current incrcomp issue with these attributes by allowing it here. This resolves the near-term issue for me, at least.
    Centril authored Jan 8, 2020
    Configuration menu
    Copy the full SHA
    11f0013 View commit details
    Browse the repository at this point in the history
  24. Rollup merge of rust-lang#67966 - popzxc:core-std-matches, r=Centril

    Use matches macro in libcore and libstd
    
    This PR replaces matches like
    
    ```rust
    match var {
        value => true,
        _ => false,
    }
    ```
    
    with use of `matches!` macro.
    
    r? @Centril
    Centril authored Jan 8, 2020
    Configuration menu
    Copy the full SHA
    5ea6978 View commit details
    Browse the repository at this point in the history
  25. Rollup merge of rust-lang#67979 - Centril:hir-cleanup, r=Zoxc

    Move `intravisit` => `rustc_hir` + misc cleanup
    
    Working towards rust-lang#65031.
    This should eventually enable getting rid of rustc as a dependency in various passes (e.g. lints).
    
    cc rust-lang#67806 (this also facilitates liberating lints from tcx)
    cc rust-lang#67922 (some other dep reductions)
    
    r? @Zoxc
    Centril authored Jan 8, 2020
    Configuration menu
    Copy the full SHA
    0b3ef24 View commit details
    Browse the repository at this point in the history
  26. Rollup merge of rust-lang#67986 - JohnTitor:fix-ice-rust-call, r=varkor

    Display more informative ICE
    
    Fixes rust-lang#66696
    Centril authored Jan 8, 2020
    Configuration menu
    Copy the full SHA
    ea9a03d View commit details
    Browse the repository at this point in the history
  27. Rollup merge of rust-lang#67990 - Centril:slice-pats-move-tests-match…

    …, r=matthewjasper
    
    slice patterns: harden match-based borrowck tests
    
    This hardens some move-checking tests wrt. slice patterns and `match` expressions.
    
    r? @matthewjasper
    cc @pnkfelix
    cc rust-lang#67712
    cc rust-lang#53114
    Centril authored Jan 8, 2020
    Configuration menu
    Copy the full SHA
    916a7d3 View commit details
    Browse the repository at this point in the history
  28. Rollup merge of rust-lang#68005 - GuillaumeGomez:explanation-e0184, r…

    …=Dylan-DPC
    
    Improve E0184 explanation
    
    r? @Dylan-DPC
    Centril authored Jan 8, 2020
    Configuration menu
    Copy the full SHA
    91d5fba View commit details
    Browse the repository at this point in the history
  29. Rollup merge of rust-lang#68009 - wcampbell0x2a:spellcheck-librustc_e…

    …rror_codes, r=Centril
    
    Spell check librustc_error_codes
    
    Found one wrongly spelled error message and decided to check all the
    error messages for wrongly spelled statements.
    Centril authored Jan 8, 2020
    Configuration menu
    Copy the full SHA
    1355fb5 View commit details
    Browse the repository at this point in the history
  30. Rollup merge of rust-lang#68023 - FSciammarella:master, r=Centril,varkor

    Fix issue rust-lang#68008
    
    Correcting Typo on error message. From "substract" to "subtract".
    
    Fixes rust-lang#68008.
    Centril authored Jan 8, 2020
    Configuration menu
    Copy the full SHA
    d2922e5 View commit details
    Browse the repository at this point in the history
  31. Rollup merge of rust-lang#68024 - petrochenkov:recoverall, r=Centril

    Remove `-Z continue-parse-after-error`
    
    We are just always recovering and continuing now.
    
    r? @estebank @Centril
    Centril authored Jan 8, 2020
    Configuration menu
    Copy the full SHA
    5e6eeb0 View commit details
    Browse the repository at this point in the history
  32. Rollup merge of rust-lang#68026 - llogiq:ch-ch-ch-ch-changes, r=varkor

    Small improvements in lexical_region_resolve
    
    This just replaces a trivial `if` condition with a `|=` in two places.
    
    I could even have used a `fold` in the first case, but I think it would be less readable.
    Centril authored Jan 8, 2020
    Configuration menu
    Copy the full SHA
    b24de8f View commit details
    Browse the repository at this point in the history