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 13 pull requests #76320

Closed
wants to merge 34 commits into from
Closed

Commits on Aug 26, 2020

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

Commits on Aug 27, 2020

  1. impl Rc::new_cyclic

    mental32 committed Aug 27, 2020
    Configuration menu
    Copy the full SHA
    f03d0b3 View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2020

  1. typo

    Co-authored-by: Andrew Hickman <andrew.hickman1@sky.com>
    mental32 and andrewhickman authored Aug 29, 2020
    Configuration menu
    Copy the full SHA
    42fb270 View commit details
    Browse the repository at this point in the history
  2. Link vec doc to & reference

    It is not always obvious that people could see the docs for `&`
    especially for beginners, it also helps learnability.
    pickfire authored Aug 29, 2020
    Configuration menu
    Copy the full SHA
    bb5e79c View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2020

  1. Configuration menu
    Copy the full SHA
    20a6866 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    81e85ce View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6b75e3d View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2020

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

Commits on Sep 3, 2020

  1. Add missing link in README

    camelid committed Sep 3, 2020
    Configuration menu
    Copy the full SHA
    8783c62 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3e29fdb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    791f93c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4231fbc View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4df6490 View commit details
    Browse the repository at this point in the history
  6. Rename IsJoint -> Spacing

    To match better naming from proc-macro
    matklad committed Sep 3, 2020
    Configuration menu
    Copy the full SHA
    ccf41dd View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    c6ab3ff View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    2278c72 View commit details
    Browse the repository at this point in the history
  9. Make Ipv4Addr and Ipv6Addr const tests unit tests under library

    These tests are about the standard library, not the compiler itself, thus should live in `library`, see rust-lang#76268.
    CDirkx committed Sep 3, 2020
    Configuration menu
    Copy the full SHA
    a2e077e View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    8c93125 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    7b823df View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2020

  1. Move various ui const tests to library

    Move:
     - `src\test\ui\consts\const-nonzero.rs` to `library\core`
     - `src\test\ui\consts\ascii.rs` to `library\core`
     - `src\test\ui\consts\cow-is-borrowed` to `library\alloc`
    
    Part of rust-lang#76268
    CDirkx committed Sep 4, 2020
    Configuration menu
    Copy the full SHA
    538e198 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    85146b9 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#75580 - JulianKnodt:or_pattern, r=wesleywiser

    Add test for checking duplicated branch or-patterns
    
    This adds a regression test for checking `or-patterns` in MIR as shown in rust-lang#75439.
    This doesn't introduce a fix as I'm not sure where it would go(I suspect maybe here: src/librustc_mir_build/build/matches/mod.rs), and I'm not particularly able to fix it.
    
    cc: @lzutao
    matklad authored Sep 4, 2020
    Configuration menu
    Copy the full SHA
    4dd8ebd View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#75954 - ArekPiekarz:unstable_book_ffi_track…

    …ing_issues, r=steveklabnik
    
    Unstable Book: add links to tracking issues for FFI features
    matklad authored Sep 4, 2020
    Configuration menu
    Copy the full SHA
    ba2e0ed View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5886e94 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#76060 - pickfire:patch-12, r=jyn514

    Link vec doc to & reference
    
    It is not always obvious that people could see the docs for `&`
    especially for beginners, it also helps learnability.
    matklad authored Sep 4, 2020
    Configuration menu
    Copy the full SHA
    30a4742 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#76128 - poliorcetics:doc-use-arc-clone, r=K…

    …odrAus
    
    Use Arc::clone and Rc::clone in documentation
    
    This PR replaces uses of `x.clone()` by `Rc::clone(&x)` (or `Arc::clone(&x)`) to better match the documentation for those types.
    
    @rustbot modify labels: T-doc
    matklad authored Sep 4, 2020
    Configuration menu
    Copy the full SHA
    99ce4da View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#76229 - camelid:patch-3, r=jonas-schievink

    Add missing link in README
    matklad authored Sep 4, 2020
    Configuration menu
    Copy the full SHA
    7ab6e80 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#76273 - CraftSpider:master, r=matklad

    Move some Vec UI tests into alloc unit tests
    
    A bit of work towards rust-lang#76268, makes a number of the Vec UI tests that are simply running code into unit tests. Ensured that they are being run when testing liballoc locally.
    matklad authored Sep 4, 2020
    Configuration menu
    Copy the full SHA
    b4e784b View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#76274 - scottmcm:fix-76271, r=petrochenkov

    Allow try blocks as the argument to return expressions
    
    Fixes rust-lang#76271
    
    I don't think this needs to be edition-aware (phew) since `return try` in 2015 is also the start of an expression, just with a struct literal instead of a block (`return try { x: 4, y: 5 }`).
    matklad authored Sep 4, 2020
    Configuration menu
    Copy the full SHA
    8aa90a3 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#76291 - matklad:spacing, r=petrochenkov

    Rename IsJoint -> Spacing
    
    Builds on rust-lang#76286 and might conflict with rust-lang#76285
    
    r? @petrochenkov
    matklad authored Sep 4, 2020
    Configuration menu
    Copy the full SHA
    8e70471 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#76299 - CDirkx:ip-tests, r=matklad

    Make `Ipv4Addr` and `Ipv6Addr` const tests unit tests under `library`
    
    These tests are about the standard library, not the compiler itself, thus should live in `library`, see rust-lang#76268.
    matklad authored Sep 4, 2020
    Configuration menu
    Copy the full SHA
    61a381e View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#76302 - jyn514:peekable-2, r=Dylan-DPC

    Address review comments on `Peekable::next_if`
    
    r? @pickfire
    See rust-lang#72310 (review) for context.
    matklad authored Sep 4, 2020
    Configuration menu
    Copy the full SHA
    3b3b5a8 View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#76303 - jyn514:vec-assert-doc, r=Dylan-DPC

    Link to `#capacity-and-reallocation` when using with_capacity
    
    Follow up to rust-lang#76058 (comment).
    r? @pickfire
    matklad authored Sep 4, 2020
    Configuration menu
    Copy the full SHA
    e819fdf View commit details
    Browse the repository at this point in the history
  15. Rollup merge of rust-lang#76305 - CDirkx:const-tests, r=matklad

    Move various ui const tests to `library`
    
    Move:
     - `src\test\ui\consts\const-nonzero.rs` to `library\core`
     - `src\test\ui\consts\ascii.rs` to `library\core`
     - `src\test\ui\consts\cow-is-borrowed` to `library\alloc`
    
    Part of rust-lang#76268
    
    r? @matklad
    matklad authored Sep 4, 2020
    Configuration menu
    Copy the full SHA
    1320c1a View commit details
    Browse the repository at this point in the history