Uh oh!
There was an error while loading. Please reload this page.
Add reset_err_count() to errors::Handler - #43778
Conversation
aidanhs
commented
Aug 10, 2017
Thanks for the PR @topecongiro! We'll check in now and again to make sure @nrc or another reviewer gets to this soon. |
carols10cents
commented
Aug 14, 2017
friendly ping @nrc ! |
1 similar comment
arielb1
commented
Aug 22, 2017
friendly ping @nrc ! |
nrc
commented
Aug 22, 2017
@bors: r+ |
bors
commented
Aug 22, 2017
📌 Commit a326948 has been approved by |
@bors r- |
nrc
commented
Aug 22, 2017
@bors r- |
There was a problem hiding this comment.
Could you add a comment to this stating that it should not be called in rustc, only by tools (it would break the compiler's error handling)
The motivation here is to allow rustfmt to recover from parse errors after failing to parse macros.
a326948 to
601e3daComparetopecongiro
commented
Aug 23, 2017
Updated & rebased. |
carols10cents
commented
Aug 28, 2017
Looks like this is back in your court @nrc ! |
arielb1
commented
Aug 29, 2017
@bors r+ |
bors
commented
Aug 29, 2017
📌 Commit 601e3da has been approved by |
arielb1
commented
Aug 29, 2017
@bors rollup |
…, r=arielb1 Add reset_err_count() to errors::Handler The motivation here is to allow rustfmt to recover from parse errors after failing to parse macros (cc rust-lang/rustfmt#1742). r? @nrc
…, r=arielb1 Add reset_err_count() to errors::Handler The motivation here is to allow rustfmt to recover from parse errors after failing to parse macros (cc rust-lang/rustfmt#1742). r? @nrc
topecongiro
commented
Aug 30, 2017
Thank you! |
The motivation here is to allow rustfmt to recover from parse errors after failing to parse macros (cc rust-lang/rustfmt#1742).
r? @nrc