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 5 pull requests #67479

Closed
wants to merge 43 commits into from
Closed

Commits on Dec 5, 2019

  1. Add regression tests

    TommasoBianchi committed Dec 5, 2019
    Configuration menu
    Copy the full SHA
    2bd28d9 View commit details
    Browse the repository at this point in the history

Commits on Dec 16, 2019

  1. Configuration menu
    Copy the full SHA
    042d855 View commit details
    Browse the repository at this point in the history
  2. Formatting fixes

    TommasoBianchi committed Dec 16, 2019
    Configuration menu
    Copy the full SHA
    b08d697 View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2019

  1. Configuration menu
    Copy the full SHA
    020be74 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    94d207f View commit details
    Browse the repository at this point in the history

Commits on Dec 20, 2019

  1. Update E0120.md

    Dylan-DPC authored Dec 20, 2019
    Configuration menu
    Copy the full SHA
    7f0741d View commit details
    Browse the repository at this point in the history
  2. Update E0121.md

    Dylan-DPC authored Dec 20, 2019
    Configuration menu
    Copy the full SHA
    dce0f06 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    963f20d View commit details
    Browse the repository at this point in the history
  4. Remove rarely used -Zdisable_instrumentation_preinliner flag.

    The same effect can be achieved by `-Cllvm-args=-disable-preinline`.
    michaelwoerister committed Dec 20, 2019
    Configuration menu
    Copy the full SHA
    1ca145c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    382d370 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c59588f View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    e68db0a View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    6d678b1 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    f085637 View commit details
    Browse the repository at this point in the history
  10. extract parse_typeof_ty

    Centril committed Dec 20, 2019
    Configuration menu
    Copy the full SHA
    b42b85f View commit details
    Browse the repository at this point in the history
  11. extract parse_impl_ty

    Centril committed Dec 20, 2019
    Configuration menu
    Copy the full SHA
    d47de3e View commit details
    Browse the repository at this point in the history
  12. extract parse_dyn_ty

    Centril committed Dec 20, 2019
    Configuration menu
    Copy the full SHA
    1fa8f70 View commit details
    Browse the repository at this point in the history
  13. extract parse_path_start_ty

    Centril committed Dec 20, 2019
    Configuration menu
    Copy the full SHA
    c0561cf View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    6b92be2 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    0e74022 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    3b63465 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    8e8ac02 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    56b54fb View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    e8b6769 View commit details
    Browse the repository at this point in the history
  20. extract can_begin_bound

    Centril committed Dec 20, 2019
    Configuration menu
    Copy the full SHA
    7294804 View commit details
    Browse the repository at this point in the history
  21. extract parse_generic_bound

    Centril committed Dec 20, 2019
    Configuration menu
    Copy the full SHA
    229560b View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    2ca6181 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    f87ff0f View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    8f33bdc View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    8123211 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    90f7d8b View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    765df3a View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    51bbdeb View commit details
    Browse the repository at this point in the history
  29. extract error_negative_bounds

    Centril committed Dec 20, 2019
    Configuration menu
    Copy the full SHA
    f02fd50 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    0ebd421 View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    d977e5b View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2019

  1. unwrap -> expect

    Centril committed Dec 21, 2019
    Configuration menu
    Copy the full SHA
    cabe665 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    690b0b3 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#67059 - TommasoBianchi:dropck_fix_pr, r=pnk…

    …felix
    
    Fix too restrictive checks on Drop impls
    
    Fixes rust-lang#34426. Fixes rust-lang#58311.
    
    This PR completes and extends rust-lang#59497 (which has been inactive for a while now).
    The problem generating both issues was that when checking that the `Predicate`s of the `Drop` impl are exactly the same as the ones of the struct definition, the check was essentially performed by a simple `==` operator, which was not handling correctly HRTBs and involved `Fn` types.
    
    The implemented solution relies on the `relate` machinery to more correctly equate `Predicate`s, and on `anonymize_late_bound_regions` to handle HRTB in a more general way. As the `Relate` trait currently is implemented only for `TraitPredicate` and `ProjectionPredicate` (and as they were the ones generating problems), `relate` is used only for them while for other `Predicate`s the equality check is kept. I'm currently considering whether it would make sense to implement the `Relate` trait also for all other `Predicate`s to render the proposed solution more general.
    Centril authored Dec 21, 2019
    Configuration menu
    Copy the full SHA
    abb4234 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#67148 - Centril:ty-polish, r=estebank

     Refactor type & bounds parsing thoroughly
    
    PR is based on rust-lang#67131 with first one from this PR being ` extract parse_ty_tuple_or_parens`.
    
    Also fixes rust-lang#67146.
    
    r? @estebank
    Centril authored Dec 21, 2019
    Configuration menu
    Copy the full SHA
    2e44898 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#67393 - michaelwoerister:llvm-args-override…

    …, r=varkor
    
    Enable opting out of specific default LLVM arguments.
    
    `rustc` by default adds a few arguments to LLVM (like `-mergefunc-use-aliases` for example). With this PR `rustc` will only emit these arguments if the same argument has not already been specified by the user via `-Cllvm-args`. This enables opting out of these defaults.
    
    The PR also removes a PGO specific `-Z` flag the effect of which can also be easily achieved by `-Cllvm-args`.
    
    Fixes rust-lang#64310.
    Centril authored Dec 21, 2019
    Configuration menu
    Copy the full SHA
    97d88ed View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#67422 - GuillaumeGomez:cleanup-err-codes, r…

    …=Dylan-DPC
    
    Cleanup err codes
    
    r? @Dylan-DPC
    Centril authored Dec 21, 2019
    Configuration menu
    Copy the full SHA
    dfe712c View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#67462 - DutchGhost:const_slice_from_raw_par…

    …ts, r=dtolnay
    
    Make ptr::slice_from_raw_parts a const fn available under a feature flag
    
    A first step in the direction of rust-lang#67456 .
    This makes `ptr::slice_from_raw_parts` and `ptr::slice_from_raw_parts_mut` available as a const fn under a feature flag.
    Centril authored Dec 21, 2019
    Configuration menu
    Copy the full SHA
    a3cc9b4 View commit details
    Browse the repository at this point in the history