Skip to content

Rollup of 11 pull requests - #101074

Merged
bors merged 28 commits into
rust-lang:masterfrom
JohnTitor:rollup-zwznihq
Aug 27, 2022
Merged

Rollup of 11 pull requests#101074
bors merged 28 commits into
rust-lang:masterfrom
JohnTitor:rollup-zwznihq

Conversation

@JohnTitor

Copy link
Copy Markdown
Member

Successful merges:

Failed merges:

r? @ghost
@rustbot modify labels: rollup

Create a similar rollup

est31and others added 28 commits July 27, 2022 03:20
Reduce duplication by moving fetching logic into a dedicated function.
`writeln!` already includes a reference to `write!` for more
information, so remove duplicated information.
Stabilization has been completed [here](rust-lang#92980 (comment))
with a FCP.
Related to rust-lang#100952
This is definitely not a complete solution, but it does shrink
keysyms/index.html on smithay from 620K to 516K.
This CSS seems to have become obsolete with the move to `<details>` tags,
and its corresponding JavaScript was removed in aee054d
Fixesrust-lang#100994
This selector was added in c7312fb.
The bug can be seen at <https://doc.rust-lang.org/1.27.0/alloc/slice/trait.SliceIndex.html#foreign-impls>.
This rule was added to help with a `<table>` that was used for displaying the
function signature [src] lockup. That lockup was changed in
34bd2b8 to use flexbox instead, leaving this
selector unused (at least, for its original purpose).
…ffset_from, r=Mark-Simulacrum
Stabilize `const_ptr_offset_from`.
Stabilization has been completed [here](rust-lang#92980 (comment)) with a FCP.
Closesrust-lang#92980.
…, r=Mark-Simulacrum
Make forward compatibility lint deprecated_cfg_attr_crate_type_name deny by default
Turns the forward compatibility lint added by rust-lang#83744 to deprecate `cfg_attr` usage with `#![crate_type]` and `#![crate_name]` attributes into deny by default. Copying the example from rust-lang#83744:
```Rust
#![crate_type = "lib"] // remains working
#![cfg_attr(foo, crate_type = "bin")] // will stop working
```
Over 8 months have passed since rust-lang#83744 was merged so I'd say this gives ample time for people to have been warned, so we can make the warning stronger. No usage was found via grep.app except for one, which was in an unmaintained code base that didn't seem to be used in the open source eco system. The crater run conducted in rust-lang#83744 also didn't show up anything.
cc rust-lang#91632 - tracking issue for the lint
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?
…mulacrum
Smaller improvements of tidy and the unicode generator
…mulacrum
Update documentation for `write!` and `writeln!`
rust-lang#37472 added this documentation, but it
needs updating:
- Remove some documentation duplicated between `writeln!` and `write!`
- Update `write!` docs: can now import traits as `_` to avoid conflicts
- Expand example to show how to implement qualified trait names
…block-short, r=GuillaumeGomez
rustdoc: omit start/end tags for empty item description blocks
Related to rust-lang#100952
This is definitely not a complete solution, but it does shrink keysyms/index.html on smithay from 620K to 516K.
… r=jsha
rustdoc: remove unused CSS for `hidden-by-*-hider`
This CSS seems to have become obsolete with the move to `<details>` tags,
and its corresponding JavaScript was removed in aee054d
rustdoc: remove incorrect CSS selector `.impl-items table td`
Fixesrust-lang#100994
This selector was added in c7312fb. The bug can be seen at <https://doc.rust-lang.org/1.27.0/alloc/slice/trait.SliceIndex.html#foreign-impls>.
This rule was added to help with a `<table>` that was used for displaying the function signature [src] lockup. That lockup was changed in 34bd2b8 to use flexbox instead, leaving this selector unused (at least, for its original purpose).
…rors
Merge implementations of HIR fn_decl and fn_sig.
…t, r=GuillaumeGomez
rustdoc: remove empty extern_crates and type="text/javascript" on script
Like rust-lang#101023, this removes an attribute with a default value.
…s, r=notriddle
Merge duplicated CSS rules
I used the [stylelint](https://stylelint.io/user-guide/configure) tool to check for duplicated CSS rules in order to merge them.
r? `@notriddle`
@rustbotrustbot added T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Aug 27, 2022
@rustbotrustbot added T-libs Relevant to the library team, which will review and decide on the PR/issue. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. rollup A PR which is a rollup labels Aug 27, 2022
@JohnTitor

Copy link
Copy Markdown
MemberAuthor

@bors r+ p=11 rollup=never

@bors

bors commented Aug 27, 2022

Copy link
Copy Markdown
Collaborator

📌 Commit bd89372 has been approved by JohnTitor

It is now in the queue for this repository.

@borsbors added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label Aug 27, 2022
@bors

bors commented Aug 27, 2022

Copy link
Copy Markdown
Collaborator

⌛ Testing commit bd89372 with merge d0e1491...

@bors

bors commented Aug 27, 2022

Copy link
Copy Markdown
Collaborator

☀️ Test successful - checks-actions
Approved by: JohnTitor
Pushing d0e1491 to master...

@borsbors added the merged-by-bors This PR was explicitly merged by bors. label Aug 27, 2022
@bors
bors merged commit d0e1491 into rust-lang:masterAug 27, 2022
@rustbotrustbot added this to the 1.65.0 milestone Aug 27, 2022
@JohnTitor
JohnTitor deleted the rollup-zwznihq branch August 27, 2022 09:01
@borsbors mentioned this pull request Aug 27, 2022
@rust-timer

Copy link
Copy Markdown
Collaborator

Finished benchmarking commit (d0e1491): comparison URL.

Overall result: ✅ improvements - no action needed

@rustbot label: -perf-regression

Instruction count

This is a highly reliable metric that was used to determine the overall result at the top of this comment.

mean1rangecount2
Regressions ❌
(primary)
--0
Regressions ❌
(secondary)
--0
Improvements ✅
(primary)
--0
Improvements ✅
(secondary)
-1.5%[-1.5%, -1.5%]1
All ❌✅ (primary)--0

Max RSS (memory usage)

Results

This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.

mean1rangecount2
Regressions ❌
(primary)
3.5%[3.0%, 4.0%]2
Regressions ❌
(secondary)
--0
Improvements ✅
(primary)
--0
Improvements ✅
(secondary)
--0
All ❌✅ (primary)3.5%[3.0%, 4.0%]2

Cycles

Results

This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.

mean1rangecount2
Regressions ❌
(primary)
1.9%[1.9%, 1.9%]1
Regressions ❌
(secondary)
3.2%[3.2%, 3.2%]1
Improvements ✅
(primary)
--0
Improvements ✅
(secondary)
--0
All ❌✅ (primary)1.9%[1.9%, 1.9%]1

Footnotes

  1. the arithmetic mean of the percent change23

  2. number of relevant changes23

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merged-by-borsThis PR was explicitly merged by bors.rollupA PR which is a rollupS-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.T-libsRelevant to the library team, which will review and decide on the PR/issue.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

11 participants

@JohnTitor@bors@rust-timer@rustbot@est31@czzrr@joshtriplett@fee1-dead@notriddle@cjgillot@GuillaumeGomez