Skip to content

Rollup of 10 pull requests - #89019

Merged
bors merged 23 commits into
rust-lang:masterfrom
Manishearth:rollup-5qp8a5s
Sep 16, 2021
Merged

Rollup of 10 pull requests#89019
bors merged 23 commits into
rust-lang:masterfrom
Manishearth:rollup-5qp8a5s

Conversation

@Manishearth

Copy link
Copy Markdown
Member

Successful merges:

Failed merges:

r? @ghost
@rustbot modify labels: rollup

Create a similar rollup

estebankand others added 23 commits September 7, 2021 17:45
Detect likely `struct` literal using parentheses as delimiters and emit
targeted suggestion instead of type ascription parse error.
Fixrust-lang#61326.
…nimplemented
This isn't allowed by the validator, and seems to be unused.
When it was added in ed10a3f,
it was used on `Sized`, and that usage is gone.
rust-lang/backtrace-rs#437 fixed backtraces in
OpenBSD -> update it here as well so OpenBSD Rust code can produce
proper backtraces.
…yn514
Enable --generate-link-to-definition for rustc's docs
cc `@jyn514`
…s, r=oli-obk
Recover from `Foo(a: 1, b: 2)`
Detect likely `struct` literal using parentheses as delimiters and emit
targeted suggestion instead of type ascription parse error.
Fixrust-lang#61326.
…trait-selection, r=Mark-Simulacrum
cleanup(rustc_trait_selection): remove vestigial code from rustc_on_unimplemented
This isn't allowed by the validator, and seems to be unused.
When it was added in ed10a3f,
it was used on `Sized`, and that usage is gone.
Move object safety suggestions to the end of the error
Document the closure arguments for `reduce`.
See issue rust-lang#88927.
…ocs, r=Mark-Simulacrum
Clean up and add doc comments for CStr
CC rust-lang#51430
…call, r=ecstatic-morse
Allow calling `get_body_with_borrowck_facts` without `-Z polonius`
For my [static analysis tool](https://github.com/willcrichton/flowistry), I need to access the set of outlives-constraints. Recently, rust-lang#86977 merged a way to access these facts via Polonius. However, the merged implementation requires `-Z polonius` to be provided to use this feature. This uses Polonius for borrow checking on the entire crate, which as described [here](https://rust-lang.zulipchat.com/#narrow/stream/186049-t-compiler.2Fwg-polonius/topic/Polonius.20performance.20in.20a.20rustc.20plugin/near/251301631), is very slow.
This PR allows `get_body_with_borrowck_facts` to be called without `-Z polonius`. This is essential for my tool to run in a sensible length of time. This is a temporary patch as the Polonius-related APIs develop -- I can update my code as future changes happen.
Additionally, this PR also makes public two APIs that were previously public but then became private after `rustc_mir` got broken up: `rustc_mir_dataflow::framework::graphviz` and `rustc_mir_transform::MirPass`. I need both of these for my analysis tool. (I can break this change into a separate PR if necessary.)
Update clobber_abi list to include k[1-7] regs
Update the backtrace crate
rust-lang/backtrace-rs#437 fixed backtraces in
OpenBSD -> update it here as well so OpenBSD Rust code can produce
proper backtraces.
@rustbotrustbot added the rollup A PR which is a rollup label Sep 16, 2021
@Manishearth

Copy link
Copy Markdown
MemberAuthor

@bors r+ p=3 rollup=never

@bors

bors commented Sep 16, 2021

Copy link
Copy Markdown
Collaborator

📌 Commit d9fa356 has been approved by Manishearth

@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 16, 2021
@bors

bors commented Sep 16, 2021

Copy link
Copy Markdown
Collaborator

⌛ Testing commit d9fa356 with merge e4828d5...

@bors

bors commented Sep 16, 2021

Copy link
Copy Markdown
Collaborator

☀️ Test successful - checks-actions
Approved by: Manishearth
Pushing e4828d5 to master...

@borsbors added the merged-by-bors This PR was explicitly merged by bors. label Sep 16, 2021
@bors
bors merged commit e4828d5 into rust-lang:masterSep 16, 2021
@rustbotrustbot added this to the 1.57.0 milestone Sep 16, 2021
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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants

@Manishearth@bors@rustbot@estebank@notriddle@lefth@hargoniX@willcrichton@SkiFire13@yjhn