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 8 pull requests #100937

Closed
wants to merge 16 commits into from
Closed

Commits on Jun 29, 2022

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

Commits on Aug 15, 2022

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

Commits on Aug 21, 2022

  1. Configuration menu
    Copy the full SHA
    8998024 View commit details
    Browse the repository at this point in the history
  2. Extra documentation for new formatting feature

    High traffic macros should detail this helpful addition.
    IsaacCloos committed Aug 21, 2022
    Configuration menu
    Copy the full SHA
    acca4b8 View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2022

  1. make some methods private

    TaKO8Ki committed Aug 22, 2022
    Configuration menu
    Copy the full SHA
    000dc80 View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2022

  1. Configuration menu
    Copy the full SHA
    ba74a62 View commit details
    Browse the repository at this point in the history
  2. Make use of [wrapping_]byte_{add,sub}

    ...replacing `.cast().wrapping_offset().cast()` & similar code.
    WaffleLapkin committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    53565b2 View commit details
    Browse the repository at this point in the history
  3. Use --userns=keep-id when "docker" is really podman

    Rootless podman creates a separate user namespace, where an inner
    `LOCAL_USER_ID` will map to a different subuid range on the host.
    The "keep-id" mode maps the current UID directly into the container.
    
    This makes `src/ci/docker/run.sh` work better for testing container
    images on systems running podman, where "docker" is just a shim.
    cuviper committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    4eb748b View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2022

  1. Rollup merge of rust-lang#98301 - ortem:pretty-printers-nonzero, r=we…

    …sleywiser
    
    Add GDB/LLDB pretty-printers for NonZero types
    
    Add GDB/LLDB pretty-printers for `NonZero` types.
    These pretty-printers were originally implemented for IntelliJ Rust by ``@Kobzol`` in intellij-rust/intellij-rust#5270.
    
    Part of rust-lang#29392.
    JohnTitor authored Aug 24, 2022
    Configuration menu
    Copy the full SHA
    4e34bc3 View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#100220 - scottmcm:fix-by-ref-sized, r=josht…

    …riplett
    
    Properly forward `ByRefSized::fold` to the inner iterator
    
    cc ``@timvermeulen,`` who noticed this mistake in rust-lang#100214 (comment)
    JohnTitor authored Aug 24, 2022
    Configuration menu
    Copy the full SHA
    df592af View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#100811 - czzrr:master, r=Mark-Simulacrum

    Fix wrong compiletest filters on Windows
    
    As discussed in [rust-lang#79334](rust-lang#79334), when calling e.g.
    ```
    python x.py test src/test/ui/expr/compound-assignment/eval-order.rs
    ```
    on Windows, compiletest passes the filter `expr/compound-assignment/eval-order.rs` to libtest, which instead should be `expr\compound-assignment\eval-order.rs`, as that is the file found when collecting tests. This is what I fixed.
    
    I'm not sure how to organize a test for this. Any suggestions?
    JohnTitor authored Aug 24, 2022
    Configuration menu
    Copy the full SHA
    9da1807 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#100819 - WaffleLapkin:use_ptr_byte_methods,…

    … r=scottmcm
    
    Make use of `[wrapping_]byte_{add,sub}`
    
    These new methods trivially replace old `.cast().wrapping_offset().cast()` & similar code.
    Note that [`arith_offset`](https://doc.rust-lang.org/std/intrinsics/fn.arith_offset.html) and `wrapping_offset` are the same thing.
    
    r? ``@scottmcm``
    
    _split off from #100746_
    JohnTitor authored Aug 24, 2022
    Configuration menu
    Copy the full SHA
    7cfe545 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#100855 - IsaacCloos:master, r=joshtriplett

    Extra documentation for new formatting feature
    
    Documentation of this feature was added in rust-lang#90473 and released in Rust 1.58. However, high traffic macros did not receive new examples. Namely `println!()` and `format!()`.
    
    The doc comments included in Rust are super important to the community- especially newcomers. I have met several other newbies like myself who are unaware of this recent (well about 7 months old now) update to the language allowing for convenient intra-string identifiers.
    
    Bringing small examples of this feature to the doc comments of `println!()` and `format!()` would be helpful to everyone learning the language.
    
    [Blog Post Announcing Feature](https://blog.rust-lang.org/2022/01/13/Rust-1.58.0.html)
    [Feature PR](rust-lang#90473) - includes several instances of documentation of the feature- minus the macros in question for this PR
    
    *This is my first time contributing to a project this large. Feedback would mean the world to me 😄*
    
    ---
    
    *Recreated; I violated the [No-Merge Policy](https://rustc-dev-guide.rust-lang.org/git.html#no-merge-policy)*
    JohnTitor authored Aug 24, 2022
    Configuration menu
    Copy the full SHA
    6a303c7 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#100901 - TaKO8Ki:make-some-methods-private,…

    … r=sanxiyn
    
    Make some methods private
    JohnTitor authored Aug 24, 2022
    Configuration menu
    Copy the full SHA
    07aa248 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#100912 - tmiasko:make-include, r=TaKO8Ki

    Diagnose missing includes in run-make tests
    JohnTitor authored Aug 24, 2022
    Configuration menu
    Copy the full SHA
    4dede7a View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#100930 - cuviper:podman-keep-id, r=jyn514

    Use `--userns=keep-id` when "docker" is really podman
    
    Rootless podman creates a separate user namespace, where an inner
    `LOCAL_USER_ID` will map to a different subuid range on the host.
    The "keep-id" mode maps the current UID directly into the container.
    
    This makes `src/ci/docker/run.sh` work better for testing container
    images on systems running podman, where "docker" is just a shim.
    JohnTitor authored Aug 24, 2022
    Configuration menu
    Copy the full SHA
    8549096 View commit details
    Browse the repository at this point in the history