Skip to content

Rollup of 11 pull requests #89739

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 24 commits into from
Oct 10, 2021
Merged

Rollup of 11 pull requests #89739

merged 24 commits into from
Oct 10, 2021

Conversation

matthiaskrgr
Copy link
Member

Successful merges:

Failed merges:

r? @ghost
@rustbot modify labels: rollup

Create a similar rollup

joshlf and others added 24 commits August 26, 2021 15:21
* Clarify rounding.
* Avoid "wrapping" wording.
* Omit wrong claim on 0 only being returned in error cases.
* Typo fix for one_less_than_next_power_of_two.
Actually add the feature to the lints ui test
Add tracking issue to the feature declaration
Rename feature gate to non_exhaustive_omitted_patterns_lint
Add more omitted_patterns lint feature gate
Co-authored-by: Amanieu d'Antras <amanieu@gmail.com>
There's nothing insightful to say about these so I didn't write any
extra explanations.
Also tidied up a few other nearby `#[must_use]`s.
…on-fixes, r=scottmcm

Improve docs for int_log

* Clarify rounding.
* Avoid "wrapping" wording.
* Omit wrong claim on 0 only being returned in error cases.
* Typo fix for one_less_than_next_power_of_two.
…Nadrieril,camelid

Feature gate the non_exhaustive_omitted_patterns lint

Fixes rust-lang#89374

Add the machinery to gate the new `non_exhaustive_omitted_patterns` lint.

relates to rust-lang#89105 and rust-lang#89423
docs: `std::hash::Hash` should ensure prefix-free data

Attempt to synthesize the discussion in rust-lang#89429 into a suggestion regarding `Hash` implementations (not a hard requirement).

Closes rust-lang#89429.
…st, r=Mark-Simulacrum

Don't rebuild GUI test crates every time you run test src/test/rustdoc-gui

This method has multiple advantages:

 * It'll completely remove the rustdoc-GUI test doc folder if rustdoc was updated
 * It'll rebuild GUI test crates only they have been updated

All in all, it's quite convenient! (even more with rust-lang#88816)

r? ```@Mark-Simulacrum```
Cfg hide no_global_oom_handling and no_fp_fmt_parse

These are unstable sysroot customisation cfg options that only projects building their own sysroot will use (e.g. Rust-for-linux). Most users shouldn't care. `no_global_oom_handling` can be especially annoying since it's applied on many commonly used alloc crate methods (e.g. `Box::new`, `Vec::push`).

r? ```@GuillaumeGomez```
Fix ABNF of inline asm options

This is the case since rust-lang#73227.

r? `@camelid`
…ts, r=joshtriplett

Add #[must_use] to is_condition tests

There's nothing insightful to say about these so I didn't write any extra explanations.

Parent issue: rust-lang#89692
…ods, r=joshtriplett

Add #[must_use] to char escape methods

Parent issue: rust-lang#89692
… r=joshtriplett

Add #[must_use] to math and bit manipulation methods

Also tidied up a few other nearby `#[must_use]`s.

Parent issue: rust-lang#89692
…lable, r=petrochenkov

Stabilize proc_macro::is_available

Tracking issue: rust-lang#71436

The FCP for the stabilization of `proc_macro::is_available` has completed.
@rustbot rustbot added the rollup A PR which is a rollup label Oct 10, 2021
@matthiaskrgr
Copy link
Member Author

@bors r+ p=11

@bors
Copy link
Collaborator

bors commented Oct 10, 2021

📌 Commit 4d89488 has been approved by matthiaskrgr

@bors bors added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label Oct 10, 2021
@bors
Copy link
Collaborator

bors commented Oct 10, 2021

⌛ Testing commit 4d89488 with merge 41dfaaa...

@bors
Copy link
Collaborator

bors commented Oct 10, 2021

☀️ Test successful - checks-actions
Approved by: matthiaskrgr
Pushing 41dfaaa to master...

@rust-timer
Copy link
Collaborator

Finished benchmarking commit (41dfaaa): comparison url.

Summary: This benchmark run did not return any relevant changes.

If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf.

@rustbot label: -perf-regression

@matthiaskrgr matthiaskrgr deleted the rollup-kskwqy5 branch November 20, 2021 15:04
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
merged-by-bors This PR was explicitly merged by bors. rollup A PR which is a rollup S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.