-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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 #93220
Rollup of 8 pull requests #93220
Conversation
Currently fails to build: error[E0600]: cannot apply unary operator `!` to type `!` --> library/core/tests/ops.rs:239:8 | 239 | if !return () {} | ^^^^^^^^^^ cannot apply unary operator `!`
They don't need to be `pub`. Making them crate-private improves code clarity and `dead_code` linting.
Stabilize arc_new_cyclic This stabilizes feature `arc_new_cyclic` as the implementation has been merged for one year and there is no unresolved questions. The FCP is not started yet. Closes rust-lang#75861 . ``@rustbot`` label +T-libs-api
impl Not for ! The lack of this impl caused trouble for me in some degenerate cases of macro-generated code of the form `if !$cond {...}`, even without `feature(never_type)` on a stable compiler. Namely if `$cond` contains a `return` or `break` or similar diverging expression, which would otherwise be perfectly legal in boolean position, the code previously failed to compile with: ```console error[E0600]: cannot apply unary operator `!` to type `!` --> library/core/tests/ops.rs:239:8 | 239 | if !return () {} | ^^^^^^^^^^ cannot apply unary operator `!` ```
Fix spacing for `·` between stability and source This puts in an actual space (by adjusting the space-eating operators in our templates), updates the test, and remove the now-unnecessary CSS rule. r? ``@GuillaumeGomez``
Tweak `expr.await` desugaring `Span` Fix rust-lang#93074
Unify search input and buttons size Fixes rust-lang#93060. Here what it looks like: ![Screenshot from 2022-01-20 21-38-19](https://user-images.githubusercontent.com/3050060/150418571-fefd6538-b3ee-4dd2-b77b-77e96bcfa0ed.png) ![Screenshot from 2022-01-20 21-38-22](https://user-images.githubusercontent.com/3050060/150418570-53ba259b-9bd4-4084-8b43-d74a5752d712.png) You can test it [here](https://rustdoc.crud.net/imperio/unify-sizes/std/index.html). r? ``@jsha``
update uclibc instructions for new toolchain, add link from platforms doc 2 quick things: 1) `libc` was updated to make use of features in a uclibc version more recent than the recommended toolchain in the target document, so I updated the link. 2) As has been done with other platforms, link directly from the platform support doc to the target-specific document.
…omez rustdoc: Make some `pub` items crate-private They don't need to be `pub`. Making them crate-private improves code clarity and `dead_code` linting.
…de, r=Mark-Simulacrum Remove dead code from build_helper Tested with `./x.py check` ran on x86_64 Linux.
@bors r+ rollup=never p=8 |
📌 Commit 1a935a5 has been approved by |
⌛ Testing commit 1a935a5 with merge f50afa4fa1c8f5c9cf8646493a34bc49efd62698... |
The job Click to see the possible cause of the failure (guessed by this bot)
|
💔 Test failed - checks-actions |
@bors retry spurious test failure armhf-gnu ui/generics/generic-fn-infer.rs |
☀️ Test successful - checks-actions |
Finished benchmarking commit (16c1a9d): 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 |
Successful merges:
·
between stability and source #93068 (Fix spacing for·
between stability and source)expr.await
desugaringSpan
#93103 (Tweakexpr.await
desugaringSpan
)pub
items crate-private #93185 (rustdoc: Make somepub
items crate-private)Failed merges:
r? @ghost
@rustbot modify labels: rollup
Create a similar rollup