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 #82530

Merged
merged 25 commits into from
Feb 26, 2021
Merged

Rollup of 11 pull requests #82530

merged 25 commits into from
Feb 26, 2021

Commits on Feb 19, 2021

  1. Configuration menu
    Copy the full SHA
    3ed189e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dd3772e View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2021

  1. Set RUST_BACKTRACE=0 when running treat-err-as-bug tests

    These ensure that these tests pass regardless of what RUST_BACKTRACE is
    set to in the user's shell.
    Aaron1011 committed Feb 23, 2021
    Configuration menu
    Copy the full SHA
    c9d86aa View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f94c15c View commit details
    Browse the repository at this point in the history

Commits on Feb 24, 2021

  1. Configuration menu
    Copy the full SHA
    010a6f9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    476c6c2 View commit details
    Browse the repository at this point in the history
  3. library: Normalize safety-for-unsafe-block comments

    Almost all safety comments are of the form `// SAFETY:`,
    so normalize the rest and fix a few of them that should
    have been a `/// # Safety` section instead.
    
    Furthermore, make `tidy` only allow the uppercase form. While
    currently `tidy` only checks `core`, it is a good idea to prevent
    `core` from drifting to non-uppercase comments, so that later
    we can start checking `alloc` etc. too.
    
    Signed-off-by: Miguel Ojeda <[email protected]>
    ojeda committed Feb 24, 2021
    Configuration menu
    Copy the full SHA
    eefec8a View commit details
    Browse the repository at this point in the history
  4. Move pick_by_value_method docs above function header

    - Currently style triggers rust-lang#81183 so we can't add `#[instrument]` to
      this function.
    
    - Having docs above the header is more consistent with the rest of the
      code base.
    osa1 committed Feb 24, 2021
    Configuration menu
    Copy the full SHA
    5ac6935 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9c5f684 View commit details
    Browse the repository at this point in the history
  6. Remove duplicate string

    bugadani committed Feb 24, 2021
    Configuration menu
    Copy the full SHA
    3be69b1 View commit details
    Browse the repository at this point in the history
  7. Add test

    bugadani committed Feb 24, 2021
    Configuration menu
    Copy the full SHA
    d3f75eb View commit details
    Browse the repository at this point in the history
  8. Only look for tidy when running rustdoc tests

    This avoids printing lots of unnecessary errors, as well as making the
    test suite slightly faster.
    jyn514 committed Feb 24, 2021
    Configuration menu
    Copy the full SHA
    97ab012 View commit details
    Browse the repository at this point in the history
  9. fix typo in pre-commit.sh

    katelyn martin authored Feb 24, 2021
    Configuration menu
    Copy the full SHA
    f06896c View commit details
    Browse the repository at this point in the history

Commits on Feb 25, 2021

  1. Configuration menu
    Copy the full SHA
    0ae4bf9 View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#82269 - LeSeulArtichaut:cleanup-ppmode, r=s…

    …pastorino
    
    Cleanup `PpMode` and friends
    
    This PR:
     - Separates `PpSourceMode` and `PpHirMode` to remove invalid states
     - Renames the variant to remove the redundant `Ppm` prefix
     - Adds basic documentation for the different pretty-print modes
     - Cleanups some code to make it more idiomatic
    
    Not sure if this is actually useful, but it looks cleaner to me.
    Aaron1011 authored Feb 25, 2021
    Configuration menu
    Copy the full SHA
    8c0119d View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#82431 - Aaron1011:fix/bug-env, r=jyn514

    Set RUST_BACKTRACE=0 when running `treat-err-as-bug` tests
    
    These ensure that these tests pass regardless of what RUST_BACKTRACE is
    set to in the user's shell.
    Aaron1011 authored Feb 25, 2021
    Configuration menu
    Copy the full SHA
    239e41d View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#82441 - frewsxcv:frewsxcv-docs, r=Guillaume…

    …Gomez
    
    Fix typo in sanitizer flag in unstable book.
    Aaron1011 authored Feb 25, 2021
    Configuration menu
    Copy the full SHA
    44f85c5 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#82463 - jrmuizel:patch-1, r=steveklabnik

    panic_bounds_checks should be panic_bounds_check
    Aaron1011 authored Feb 25, 2021
    Configuration menu
    Copy the full SHA
    fe6cbbc View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#82464 - ehuss:unix-command-comment, r=kennytm

    Update outdated comment in unix Command.
    
    The big comment in the `Command` struct has been incorrect for some time (at least since rust-lang#46789 which removed `envp`). Rather than try to remove the allocations, this PR just updates the comment to reflect reality. There is an explanation for the reasoning at rust-lang#31409 (comment), discussing the potential of being able to call `Command::exec` after `libc::fork`.  That can still be done in the future, but I think for now it would be good to just correct the comment.
    Aaron1011 authored Feb 25, 2021
    Configuration menu
    Copy the full SHA
    503d50b View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#82467 - ojeda:tidy-normalize-safety-comment…

    …s, r=kennytm
    
    library: Normalize safety-for-unsafe-block comments
    
    Almost all safety comments are of the form `// SAFETY:`,
    so normalize the rest and fix a few of them that should
    have been a `/// # Safety` section instead.
    
    Furthermore, make `tidy` only allow the uppercase form. While
    currently `tidy` only checks `core`, it is a good idea to prevent
    `core` from drifting to non-uppercase comments, so that later
    we can start checking `alloc` etc. too.
    
    Signed-off-by: Miguel Ojeda <[email protected]>
    Aaron1011 authored Feb 25, 2021
    Configuration menu
    Copy the full SHA
    befa2df View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#82468 - osa1:pick_by_value_method_docs, r=p…

    …etrochenkov
    
    Move pick_by_value_method docs above function header
    
    - Currently style triggers rust-lang#81183 so we can't add `#[instrument]` to
      this function.
    
    - Having docs above the header is more consistent with the rest of the
      code base.
    Aaron1011 authored Feb 25, 2021
    Configuration menu
    Copy the full SHA
    9a540cb View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#82484 - bugadani:docfix, r=jyn514

    rustdoc: Remove duplicate "List of all items"
    
    Closes rust-lang#82477
    
    r? `@jyn514`
    Aaron1011 authored Feb 25, 2021
    Configuration menu
    Copy the full SHA
    8250a25 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#82502 - jyn514:tidy, r=petrochenkov

    Only look for HTML `tidy` when running rustdoc tests
    
    This avoids printing lots of unnecessary errors, as well as making the
    test suite slightly faster. This doesn't fix the windows bug tracked by rust-lang#82501, though.
    
    r? `@petrochenkov`
    Aaron1011 authored Feb 25, 2021
    Configuration menu
    Copy the full SHA
    586ed18 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#82503 - cratelyn:patch-1, r=Mark-Simulacrum

    fix typo in `pre-commit.sh`
    
    This updates a small typo I found, no more no less 🙂
    Aaron1011 authored Feb 25, 2021
    Configuration menu
    Copy the full SHA
    4fdca6a View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    42e53ff View commit details
    Browse the repository at this point in the history