Skip to content

Rollup of 8 pull requests - #101526

Closed
Dylan-DPC wants to merge 18 commits into
rust-lang:masterfrom
Dylan-DPC:rollup-0r1yy9k
Closed

Rollup of 8 pull requests#101526
Dylan-DPC wants to merge 18 commits into
rust-lang:masterfrom
Dylan-DPC:rollup-0r1yy9k

Conversation

@Dylan-DPC

Copy link
Copy Markdown
Member

Successful merges:

Failed merges:

r? @ghost
@rustbot modify labels: rollup

Create a similar rollup

Stoventand others added 18 commits May 30, 2022 18:32
- Add a `HandleCycleError` enum to rustc_query_system, along with a `handle_cycle_error` function
- Move `Value` to rustc_query_system, so `handle_cycle_error` can use it
- Move the `Value` impls from rustc_query_impl to rustc_middle. This is necessary due to orphan rules.
overriden -> overridden
Reimplement `carrying_add` and `borrowing_sub` for signed integers.
As per the discussion in rust-lang#85532, this PR reimplements `carrying_add` and `borrowing_sub` for signed integers.
It also adds unit tests for both unsigned and signed integers, emphasing on the behaviours of the methods.
…r=cjgillot
Make `HandleCycleError` an enum instead of a macro-generated closure
Helps with rust-lang#96524. Based on rust-lang#100943 to avoid merge conflicts, so it looks larger than it is (only the last commit is relevant).
cc https://rust-lang.zulipchat.com/#narrow/stream/241847-t-compiler.2Fwg-incr-comp/topic/Moving.20.60Value.60.20to.20rustc_query_system.20.2396524
r? `@cjgillot`
…estebank
Shrink span for bindings with subpatterns.
Bindings with nested patterns (`binding @ pat` syntax) currently point to the full pattern. This PR proposes to shrink the span to stop before the ```@`.`` This makes the diagnostics for move/mutability conflicts clearer, as they not point to the `binding` only, instead of the full pat.
r? ``@estebank``
…ywiser
Remove unnecessary `EMIT_MIR_FOR_EACH_BITWIDTH`
This commit removes the annotation only for those tests where the 32 bit and 64 bit files were exactly identical. I didn't touch anything in the `mir-opt/const` directory, since having this annotation there seems more principled, even if it doesn't make a difference.
This also removes four additional files related to the `separate_const_switch.rs` test. The associated annotations were removed in rust-lang#100827 , but I forgot to remove the files as well. (rust-lang#97564 is the issue tracking an automated check here)
r? ``@wesleywiser``
Avoid UB in the Windows filesystem code in... bootstrap?
This basically a subset of the changes from rust-lang#101171. I didn't think to look in src/bootstrap for more windows filesystem API usage, which was apparently a mistake on my part. It's kinda goofy that stuff like this is in here, but what are you gonna do, computers are awful.
I also added `winbase` to the `winapi` dep -- I tested this in a tmp crate but needed to add this to your Cargo.toml -- you `use winapi::stuff::winbase` in this function, but are relying on something else turning on that feature.
…omcc
Open a BCrypt algorithm handle
Fixesrust-lang#101474, supplants rust-lang#101456.
Replaces use of a pseduo handle with manually opening a algorithm handle.
Most interesting thing here is the atomics.
r? `@thomcc`
…ince-2, r=GuillaumeGomez
rustdoc: remove unused CSS `#main-content > .since`
I missed one from rust-lang#101298
Fix typo in pass_manager.rs
overriden -> overridden
@rustbotrustbot added T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) A-query-system Area: The rustc query system (https://rustc-dev-guide.rust-lang.org/query.html) 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 Sep 7, 2022
@Dylan-DPC

Copy link
Copy Markdown
MemberAuthor

@bors r+ rollup=never p=5

@bors

bors commented Sep 7, 2022

Copy link
Copy Markdown
Collaborator

📌 Commit 335049c has been approved by Dylan-DPC

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 Sep 7, 2022
@bors

bors commented Sep 7, 2022

Copy link
Copy Markdown
Collaborator

⌛ Testing commit 335049c with merge 4537b561deb58b729e1c296bf62e544c20e36707...

@bors

bors commented Sep 7, 2022

Copy link
Copy Markdown
Collaborator

💔 Test failed - checks-actions

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

Copy link
Copy Markdown
Member

#101303 was marked rollup=never. Why did you put it in this rollup?

@Dylan-DPC

Copy link
Copy Markdown
MemberAuthor

It didnt show me when i was creating I guess, odd

@Dylan-DPC

Copy link
Copy Markdown
MemberAuthor

@bors treeclosed=1000 (github issues)

@jyn514

Copy link
Copy Markdown
Member

@bors ping

@bors

bors commented Sep 7, 2022

Copy link
Copy Markdown
Collaborator

😪 I'm awake I'm awake

@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

A job failed! Check out the build log: (web)(plain)

Click to see the possible cause of the failure (guessed by this bot)

@bors

bors commented Sep 7, 2022

Copy link
Copy Markdown
Collaborator

☔ The latest upstream changes (presumably #101476) made this pull request unmergeable. Please resolve the merge conflicts.

@Dylan-DPC
Dylan-DPC deleted the rollup-0r1yy9k branch September 8, 2022 06:38
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-query-systemArea: The rustc query system (https://rustc-dev-guide.rust-lang.org/query.html)rollupA PR which is a rollupS-waiting-on-reviewStatus: Awaiting review from the assignee but also interested parties.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.

12 participants

@Dylan-DPC@bors@jyn514@rust-log-analyzer@rustbot@Stovent@JakobDegen@thomcc@ChrisDenton@cjgillot@notriddle@eltociear