Skip to content

Rollup of 12 pull requests - #104168

Merged
bors merged 30 commits into
rust-lang:masterfrom
GuillaumeGomez:rollup-tf4edqc
Nov 9, 2022
Merged

Rollup of 12 pull requests#104168
bors merged 30 commits into
rust-lang:masterfrom
GuillaumeGomez:rollup-tf4edqc

Conversation

@GuillaumeGomez

Copy link
Copy Markdown
Member

Successful merges:

Failed merges:

r? @ghost
@rustbot modify labels: rollup

Create a similar rollup

ted-tannerand others added 30 commits November 5, 2022 15:07
This option prints all supported values for -Csplit-debuginfo=.., i.e.
only stable ones on stable/beta and all of them on nightly/dev.
fix: lint against the functions `LintContext::{lookup_with_diagnostics,lookup,struct_span_lint,lint}`, `TyCtxt::struct_lint_node`, `LintLevelsBuilder::struct_lint`.
Co-authored-by: clubby789 <jamie@hill-daniel.co.uk>
…y_error_with_guaranteed, r=lcnr
Add 'ty_error_with_guaranteed' and 'const_error_with_guaranteed'
Part of rust-lang#103874
Place config.toml in current working directory if config not found
Fixes an issue where bootsrapping a Rust build would place `config.toml` in `{src_root}` rather than the current working directory
rust-lang#103697
disable btree size tests on Miri
Seems fine not to run these in Miri, they can't have UB anyway. And this lets us do layout randomization in Miri.
r? ``@thomcc``
run alloc benchmarks in Miri and fix UB
Miri since recently has a "fake monotonic clock" that works even with isolation. Its measurements are not very meaningful but it means we can run these benches and check them for UB.
And that's a good thing since there was UB here: fixesrust-lang#104096.
r? ``@thomcc``
Add split-debuginfo print option
This option prints all supported values for `-Csplit-debuginfo=..`, i.e. only stable ones on stable/beta and all of them on nightly/dev.
Motivated by 1.65.0 regression causing builds with the following entry in `Cargo.toml` to fail on Windows:
```toml
[profile.dev]
split-debuginfo = "unpacked"
```
See rust-lang/cargo#11347 for details.
This will lead to closing rust-lang#103976.
…t-for-align-to-mut, r=thomcc
rustdoc: Add mutable to the description
`mutable` is missing from the description. Currently the description for [align_to](https://github.com/rust-lang/rust/blob/master/library/core/src/slice/mod.rs#L3498) is the same as [align_to_mut](https://github.com/rust-lang/rust/blob/master/library/core/src/slice/mod.rs#L3559)
…mpls, r=compiler-errors
Fix `const_fn_trait_ref_impl`, add test for it
rust-lang#99943 broke `#[feature(const_fn_trait_ref_impl)]`, this PR fixes this and adds a test for it.
r? ````@fee1-dead````
…th, r=notriddle
Fix invalid background-image file name
This is a follow-up of rust-lang#101702.
Apparently the image hash was the wrong one. You can see the error in https://doc.rust-lang.org/nightly/core/primitive.u16.html?search=hello too.
I really need to check if I can adds check for resources load errors in `browser-ui-test`.
cc ``````@jsha``````
r? ``````@notriddle``````
…=davidtwco
fix: lint against lint functions
Add `#[rustc_lint_diagnostics]` to lint functions missing them. From [this discussion](rust-lang#101138 (comment)).
r? ```@davidtwco```
…pnkfelix
Clarify licensing situation of MPSC and SPSC queue
Originally, these two files were licensed under the `BSD-2-Clause` license, as they were based off sample code on a blog licensing those snippets under that license:
* `library/std/src/sync/mpsc/mpsc_queue.rs`
* `library/std/src/sync/mpsc/spsc_queue.rs`
In 2017 though, the author of that blog agreed to relicense their code under the standard `MIT OR Apache-2.0` license in rust-lang#42149. This PR clarifies the situation in the files by expanding the comment at the top of the file.
r? ``@pnkfelix``
…resses-in-parser-, r=compiler-errors
Remove an address comparison from the parser
Originally this check was added in rust-lang#68985, as suggested by rust-lang@940f657#r376850175. I don't think that this address check is a robust way of making parser more robust.
This code is also extensively tested by [`ui/parser/issues/issue-35813-postfix-after-cast.rs`](https://github.com/rust-lang/rust/blob/57d3c58ed6e0faf89a62411f96c000ffc9fd3937/src/test/ui/parser/issues/issue-35813-postfix-after-cast.rs).
_Replaces #103700_
r? `@compiler-errors`
@rustbotrustbot added T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) A-meta Area: Issues & PRs about the rust-lang/rust repository itself S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. 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 Nov 8, 2022
@GuillaumeGomez

Copy link
Copy Markdown
MemberAuthor

@bors r+ p=12 rollup=never

@bors

bors commented Nov 8, 2022

Copy link
Copy Markdown
Collaborator

📌 Commit c46cc1d has been approved by GuillaumeGomez

It is now in the queue for this repository.

@borsbors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Nov 8, 2022
@bors

bors commented Nov 8, 2022

Copy link
Copy Markdown
Collaborator

⌛ Testing commit c46cc1d with merge 8d36948...

This was referenced Nov 8, 2022
@bors

bors commented Nov 9, 2022

Copy link
Copy Markdown
Collaborator

☀️ Test successful - checks-actions
Approved by: GuillaumeGomez
Pushing 8d36948 to master...

@borsbors added the merged-by-bors This PR was explicitly merged by bors. label Nov 9, 2022
@bors
bors merged commit 8d36948 into rust-lang:masterNov 9, 2022
@rustbotrustbot added this to the 1.67.0 milestone Nov 9, 2022
@rust-timer

Copy link
Copy Markdown
Collaborator

Finished benchmarking commit (8d36948): comparison URL.

Overall result: no relevant changes - no action needed

@rustbot label: -perf-regression

Instruction count

This benchmark run did not return any relevant results for this metric.

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.

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

Cycles

This benchmark run did not return any relevant results for this metric.

@GuillaumeGomez
GuillaumeGomez deleted the rollup-tf4edqc branch November 9, 2022 10:18
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-metaArea: Issues & PRs about the rust-lang/rust repository itselfmerged-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.

14 participants

@GuillaumeGomez@bors@rust-timer@rustbot@ted-tanner@RalfJung@kamirr@yancyribbens@onestacked@rejyr@chenyukang@emilyalbini@WaffleLapkin@Manishearth