Skip to content

Make visit_clobber panic-safe. - #58630

Merged
bors merged 1 commit into
rust-lang:masterfrom
nnethercote:fix-fold_clobber
Feb 27, 2019
Merged

Make visit_clobber panic-safe.#58630
bors merged 1 commit into
rust-lang:masterfrom
nnethercote:fix-fold_clobber

Conversation

@nnethercote

@nnethercotennethercote commented Feb 22, 2019

Copy link
Copy Markdown
Contributor

Local measurements indicate the performance effect is negligible.

r? @petrochenkov

@rust-highfive

Copy link
Copy Markdown
Contributor

r? @michaelwoerister

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfiverust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Feb 22, 2019
@rust-highfive

Copy link
Copy Markdown
Contributor

r? @pnkfelix

(rust_highfive has picked a reviewer for you, use r? to override)

@nnethercote

Copy link
Copy Markdown
ContributorAuthor

Sorry, I meant to say this in the description:

r? @petrochenkov

(I have updated the description to match that.)

@petrochenkov

Copy link
Copy Markdown
Contributor

Will this properly report ICEs if they happen inside f?
Could you show what the message is if the panic actually happens.

@petrochenkovpetrochenkov added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Feb 22, 2019
Comment threadsrc/libsyntax/mut_visit.rs Outdated
@nnethercote

Copy link
Copy Markdown
ContributorAuthor

Could you show what the message is if the panic actually happens.

@petrochenkov: It shows the panic message like you'd expect. See here for an example.

@petrochenkov

Copy link
Copy Markdown
Contributor

@bors r+ rollup

@bors

bors commented Feb 26, 2019

Copy link
Copy Markdown
Collaborator

📌 Commit eddd07c has been approved by petrochenkov

@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-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Feb 26, 2019
Centril added a commit to Centril/rust that referenced this pull request Feb 27, 2019
…rochenkov
Make `visit_clobber` panic-safe.
Local measurements indicate the performance effect is negligible.
r? @petrochenkov
@CentrilCentril mentioned this pull request Feb 27, 2019
Centril added a commit to Centril/rust that referenced this pull request Feb 27, 2019
…rochenkov
Make `visit_clobber` panic-safe.
Local measurements indicate the performance effect is negligible.
r? @petrochenkov
@CentrilCentril mentioned this pull request Feb 27, 2019
Centril added a commit to Centril/rust that referenced this pull request Feb 27, 2019
…rochenkov
Make `visit_clobber` panic-safe.
Local measurements indicate the performance effect is negligible.
r? @petrochenkov
@CentrilCentril mentioned this pull request Feb 27, 2019
Centril added a commit to Centril/rust that referenced this pull request Feb 27, 2019
…rochenkov
Make `visit_clobber` panic-safe.
Local measurements indicate the performance effect is negligible.
r? @petrochenkov
@CentrilCentril mentioned this pull request Feb 27, 2019
Centril added a commit to Centril/rust that referenced this pull request Feb 27, 2019
…rochenkov
Make `visit_clobber` panic-safe.
Local measurements indicate the performance effect is negligible.
r? @petrochenkov
@CentrilCentril mentioned this pull request Feb 27, 2019
bors added a commit that referenced this pull request Feb 27, 2019
Rollup of 14 pull requests
Successful merges:
- #58075 (Fix for issue #58050)
- #58627 (rustdoc: move collapse and unindent docs passes earlier)
- #58630 (Make `visit_clobber` panic-safe.)
- #58678 (Deny `async fn` in 2015 edition)
- #58680 (Fix an indexing error when using `x.py help`)
- #58703 (Fix copy-pasted typo for read_string return value)
- #58744 (Update dlmalloc to 0.1.3)
- #58746 (std: docs: Disable running several Stdio doctests)
- #58748 (update scoped_tls to 1.0)
- #58749 (Reduce Repetitions of (n << amt) >> amt)
- #58752 (Update string_cache_codegen to 0.4.2)
- #58755 (Clarify `rotate_{left,right}` docs)
- #58757 (Normalize the type Self resolves to in an impl)
- #58761 (Add tracking issue for the unwind attribute)
Failed merges:
r? @ghost
@bors
bors merged commit eddd07c into rust-lang:masterFeb 27, 2019
@nnethercote
nnethercote deleted the fix-fold_clobber branch February 27, 2019 23:18
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-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.

7 participants

@nnethercote@rust-highfive@petrochenkov@bors@Centril@pnkfelix@michaelwoerister