Fully clear HandlerInner in Handler::reset_err_count#64978
Merged
bors merged 1 commit intorust-lang:masterfrom Oct 2, 2019
AnthonyMikh:librustc_errors/lib__fully_clear_inner_handler
Merged
Fully clear HandlerInner in Handler::reset_err_count#64978bors merged 1 commit intorust-lang:masterfrom AnthonyMikh:librustc_errors/lib__fully_clear_inner_handler
HandlerInner in Handler::reset_err_count#64978bors merged 1 commit intorust-lang:masterfrom
AnthonyMikh:librustc_errors/lib__fully_clear_inner_handler
Conversation
Contributor
|
(rust_highfive has picked a reviewer for you, use r? to override) |
Member
|
@bors r+ |
Collaborator
|
📌 Commit bd7cd80 has been approved by |
tmandry
added a commit
to tmandry/rust
that referenced
this pull request
Oct 2, 2019
…lly_clear_inner_handler, r=Mark-Simulacrum Fully clear `HandlerInner` in `Handler::reset_err_count` Address [`FIXME`](https://github.com/rust-lang/rust/blob/702b45e409495a41afcccbe87a251a692b0cefab/src/librustc_errors/lib.rs#L472) for `Handler::reset_err_count` in the way suggested by @Mark-Simulacrum, i. e. clear all the fields of `HandlerInner`. cc @estebank
bors
added a commit
that referenced
this pull request
Oct 2, 2019
Rollup of 11 pull requests Successful merges: - #64649 (Avoid ICE on return outside of fn with literal array) - #64722 (Make all alt builders produce parallel-enabled compilers) - #64801 (Avoid `chain()` in `find_constraint_paths_between_regions()`.) - #64805 (Still more `ObligationForest` improvements.) - #64840 (SelfProfiler API refactoring and part one of event review) - #64885 (use try_fold instead of try_for_each to reduce compile time) - #64942 (Fix clippy warnings) - #64952 (Update cargo.) - #64974 (Fix zebra-striping in generic dataflow visualization) - #64978 (Fully clear `HandlerInner` in `Handler::reset_err_count`) - #64979 (Update books) Failed merges: - #64959 (syntax: improve parameter without type suggestions) r? @ghost
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Address
FIXMEforHandler::reset_err_countin the way suggested by @Mark-Simulacrum, i. e. clear all the fields ofHandlerInner.cc @estebank