-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Rollup of 11 pull requests #82530
Commits on Feb 19, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 3ed189e - Browse repository at this point
Copy the full SHA 3ed189eView commit details -
Configuration menu - View commit details
-
Copy full SHA for dd3772e - Browse repository at this point
Copy the full SHA dd3772eView commit details
Commits on Feb 23, 2021
-
Set RUST_BACKTRACE=0 when running
treat-err-as-bug
testsThese ensure that these tests pass regardless of what RUST_BACKTRACE is set to in the user's shell.
Configuration menu - View commit details
-
Copy full SHA for c9d86aa - Browse repository at this point
Copy the full SHA c9d86aaView commit details -
Configuration menu - View commit details
-
Copy full SHA for f94c15c - Browse repository at this point
Copy the full SHA f94c15cView commit details
Commits on Feb 24, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 010a6f9 - Browse repository at this point
Copy the full SHA 010a6f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 476c6c2 - Browse repository at this point
Copy the full SHA 476c6c2View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for eefec8a - Browse repository at this point
Copy the full SHA eefec8aView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 5ac6935 - Browse repository at this point
Copy the full SHA 5ac6935View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c5f684 - Browse repository at this point
Copy the full SHA 9c5f684View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3be69b1 - Browse repository at this point
Copy the full SHA 3be69b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for d3f75eb - Browse repository at this point
Copy the full SHA d3f75ebView commit details -
Only look for
tidy
when running rustdoc testsThis avoids printing lots of unnecessary errors, as well as making the test suite slightly faster.
Configuration menu - View commit details
-
Copy full SHA for 97ab012 - Browse repository at this point
Copy the full SHA 97ab012View commit details -
katelyn martin authored
Feb 24, 2021 Configuration menu - View commit details
-
Copy full SHA for f06896c - Browse repository at this point
Copy the full SHA f06896cView commit details
Commits on Feb 25, 2021
-
Fix typo in
param_env_reveal_all_normalized
rust-lang#82510This made the generated docs look strange: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/ty/context/struct.TyCtxt.html#method.param_env_reveal_all_normalized
Configuration menu - View commit details
-
Copy full SHA for 0ae4bf9 - Browse repository at this point
Copy the full SHA 0ae4bf9View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 8c0119d - Browse repository at this point
Copy the full SHA 8c0119dView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 239e41d - Browse repository at this point
Copy the full SHA 239e41dView commit details -
Rollup merge of rust-lang#82441 - frewsxcv:frewsxcv-docs, r=Guillaume…
…Gomez Fix typo in sanitizer flag in unstable book.
Configuration menu - View commit details
-
Copy full SHA for 44f85c5 - Browse repository at this point
Copy the full SHA 44f85c5View commit details -
Rollup merge of rust-lang#82463 - jrmuizel:patch-1, r=steveklabnik
panic_bounds_checks should be panic_bounds_check
Configuration menu - View commit details
-
Copy full SHA for fe6cbbc - Browse repository at this point
Copy the full SHA fe6cbbcView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 503d50b - Browse repository at this point
Copy the full SHA 503d50bView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for befa2df - Browse repository at this point
Copy the full SHA befa2dfView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 9a540cb - Browse repository at this point
Copy the full SHA 9a540cbView commit details -
Rollup merge of rust-lang#82484 - bugadani:docfix, r=jyn514
rustdoc: Remove duplicate "List of all items" Closes rust-lang#82477 r? `@jyn514`
Configuration menu - View commit details
-
Copy full SHA for 8250a25 - Browse repository at this point
Copy the full SHA 8250a25View commit details -
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`
Configuration menu - View commit details
-
Copy full SHA for 586ed18 - Browse repository at this point
Copy the full SHA 586ed18View commit details -
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 🙂
Configuration menu - View commit details
-
Copy full SHA for 4fdca6a - Browse repository at this point
Copy the full SHA 4fdca6aView commit details -
Rollup merge of rust-lang#82510 - jyn514:fix-typo, r=Dylan-DPC
Fix typo in `param_env_reveal_all_normalized` This made the generated docs look strange: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/ty/context/struct.TyCtxt.html#method.param_env_reveal_all_normalized
Configuration menu - View commit details
-
Copy full SHA for 42e53ff - Browse repository at this point
Copy the full SHA 42e53ffView commit details