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 11 pull requests #65559

Closed
wants to merge 39 commits into from
Closed

Commits on Oct 8, 2019

  1. Disable Go and OCaml bindings when building LLVM

    Instead of instaling OCaml bindings in a location where installation
    will not fail, don't build them in the first place.
    tmiasko committed Oct 8, 2019
    Configuration menu
    Copy the full SHA
    3b0fd82 View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2019

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

Commits on Oct 17, 2019

  1. show up some extra info when t!() fails

    Guanqun Lu committed Oct 17, 2019
    Configuration menu
    Copy the full SHA
    c716be6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    83e97c6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a4d9492 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5fe88ab View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ad6ce46 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    4e6efe4 View commit details
    Browse the repository at this point in the history
  7. Update triagebot.toml

    Co-Authored-By: Mark Rousskov <mark.simulacrum@gmail.com>
    nikomatsakis and Mark-Simulacrum authored Oct 17, 2019
    Configuration menu
    Copy the full SHA
    5487994 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    c0b7e76 View commit details
    Browse the repository at this point in the history
  9. doc: make BitSet intro more short

    Also, add a link to the growable type
    tshepang committed Oct 17, 2019
    Configuration menu
    Copy the full SHA
    c9b27d1 View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2019

  1. Configuration menu
    Copy the full SHA
    5de9cb0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e069e9c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    591cc9a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    bb7d6d1 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e3e9951 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    0fc063f View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    39c9ed3 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    2b2e35b View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    4f2a110 View commit details
    Browse the repository at this point in the history
  10. Setup a different visit place set of methods for mutable and immutabl…

    …e visitors
    
    In particular, use a blank visit_place for mutable visitor to be sure,
    non modified visitors are not trying to mutating place.
    spastorino committed Oct 18, 2019
    Configuration menu
    Copy the full SHA
    7fa3425 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    d53fc9c View commit details
    Browse the repository at this point in the history
  12. Fix left/right shift typo in wrapping rotate docs

    This makes the note similar to the one found on rotate functions for
    primitive types like i32/u32.
    t-rapp committed Oct 18, 2019
    Configuration menu
    Copy the full SHA
    769e75b View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    9617014 View commit details
    Browse the repository at this point in the history
  14. Use dedicated method for getting the type size

    Co-Authored-By: Nikita Popov <nikita.ppv@googlemail.com>
    oli-obk and nikic authored Oct 18, 2019
    Configuration menu
    Copy the full SHA
    4a51801 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    94a6d4b View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    4834996 View commit details
    Browse the repository at this point in the history
  17. Review nit

    Co-Authored-By: Ralf Jung <post@ralfj.de>
    oli-obk and RalfJung authored Oct 18, 2019
    Configuration menu
    Copy the full SHA
    1c9d889 View commit details
    Browse the repository at this point in the history
  18. Rollup merge of rust-lang#63810 - oli-obk:const_offset_from, r=RalfJu…

    …ng,nikic
    
    Make <*const/mut T>::offset_from `const fn`
    
    This reenables offset_of cc @mjbshaw 	after rust-lang#63075 broke it
    Centril authored Oct 18, 2019
    Configuration menu
    Copy the full SHA
    58b17d5 View commit details
    Browse the repository at this point in the history
  19. Rollup merge of rust-lang#65197 - spastorino:place-mut-visitor-adjust…

    …s2, r=oli-obk
    
    Prepare `MutVisitor`s to handle interned projections
    
    The following are all the files where mir's `MutVisitor` is implemented. The `-` there stands for no changes, `visit_place` wasn't making any change on `Place`s. `x` stands for this file was changed to make `visit_place` do whatever it was doing with the base but avoid modifying the projection, instead just create a new one and assign to it.
    
    ```
    [-] src/librustc_mir/transform/no_landing_pads.rs
    [x] src/librustc_mir/transform/promote_consts.rs
    [x] src/librustc_mir/transform/generator.rs
    [x] src/librustc_mir/transform/erase_regions.rs
    [-] src/librustc_mir/transform/instcombine.rs
    [x] src/librustc_mir/transform/inline.rs
    [x] src/librustc_mir/transform/simplify.rs
    [x] src/librustc_mir/util/def_use.rs
    [-] src/librustc_mir/transform/const_prop.rs
    [-] src/librustc_mir/transform/cleanup_post_borrowck.rs
    [x] src/librustc_mir/borrow_check/nll/renumber.rs
    [-] src/librustc_mir/transform/copy_prop.rs
    ```
    
    There is some code repetition, just created the PR so we can start discussing it.
    
    /cc @oli-obk @nikomatsakis
    Centril authored Oct 18, 2019
    Configuration menu
    Copy the full SHA
    33197c7 View commit details
    Browse the repository at this point in the history
  20. Rollup merge of rust-lang#65201 - tmiasko:no-bindings, r=rkruppe

    Disable Go and OCaml bindings when building LLVM
    
    Instead of instaling OCaml bindings in a location where installation
    will not fail, don't build them in the first place.
    Centril authored Oct 18, 2019
    Configuration menu
    Copy the full SHA
    1e9fd2b View commit details
    Browse the repository at this point in the history
  21. Rollup merge of rust-lang#65496 - tspiteri:euc-div-panic, r=KodrAus

    properly document panics in div_euclid and rem_euclid
    
    For signed numbers, document that `div_euclid` and `rem_euclid` panic not just when `rhs` is 0, but also when the division overflows.
    
    For unsigned numbers, document that `div_euclid` and `rem_euclid` panic when `rhs` is 0.
    Centril authored Oct 18, 2019
    Configuration menu
    Copy the full SHA
    ea6d132 View commit details
    Browse the repository at this point in the history
  22. Rollup merge of rust-lang#65508 - rust-lang:llvm-icebreakers-ping-1, …

    …r=simulacrum
    
    add option to ping llvm ice-breakers to triagebot
    Centril authored Oct 18, 2019
    Configuration menu
    Copy the full SHA
    28386e6 View commit details
    Browse the repository at this point in the history
  23. Rollup merge of rust-lang#65511 - Xanewok:sa-nest-in-impls, r=pnkfelix

    save-analysis: Nest tables when processing impl block definitions
    
    Similar to rust-lang#65353 (which this PR should've been a part of), however in this case we didn't previously nest the tables when processing trait paths in impl block declarations.
    
    Closes rust-lang#65411
    Centril authored Oct 18, 2019
    Configuration menu
    Copy the full SHA
    d08536c View commit details
    Browse the repository at this point in the history
  24. Rollup merge of rust-lang#65513 - RalfJung:fmt, r=Mark-Simulacrum

    reorder fmt docs for more clarity
    
    I adjusted these docs in rust-lang#65332 but wasn't happy with the result when seeing it in rustdoc. So this reorders the subsections in the "Formatting Parameters" section to be more logical (subsections that reference `width` come after the `width` subsection) and they also all have examples now.
    Centril authored Oct 18, 2019
    Configuration menu
    Copy the full SHA
    835a359 View commit details
    Browse the repository at this point in the history
  25. Rollup merge of rust-lang#65532 - tshepang:shorten-intro, r=Dylan-DPC

    doc: make BitSet intro more short
    
    Also, add a link to the growable type
    Centril authored Oct 18, 2019
    Configuration menu
    Copy the full SHA
    c4f5203 View commit details
    Browse the repository at this point in the history
  26. Rollup merge of rust-lang#65540 - guanqun:extend-t-macro, r=nikomatsakis

    show up some extra info when t!() fails
    Centril authored Oct 18, 2019
    Configuration menu
    Copy the full SHA
    b85d26a View commit details
    Browse the repository at this point in the history
  27. Rollup merge of rust-lang#65549 - t-rapp:tr-wrapping-rotate-docs, r=j…

    …onas-schievink
    
    Fix left/right shift typo in wrapping rotate docs
    
    This makes the note similar to the one found on rotate functions for primitive types like i32/u32.
    Centril authored Oct 18, 2019
    Configuration menu
    Copy the full SHA
    f8663c4 View commit details
    Browse the repository at this point in the history
  28. Rollup merge of rust-lang#65552 - JohnTitor:use-bitwise-not, r=Dylan-DPC

    Clarify diagnostics when using `~` as a unary op
    
    It seems we prefer `bitwise not` to `bitwise negation`.
    Fixes rust-lang#57239
    
    r? @estebank
    Centril authored Oct 18, 2019
    Configuration menu
    Copy the full SHA
    4c317fb View commit details
    Browse the repository at this point in the history