]> git.lizzy.rs Git - rust.git/commit
Add reset_err_count() to errors::Handler
authorSeiichi Uchida <seuchida@gmail.com>
Thu, 10 Aug 2017 00:17:03 +0000 (09:17 +0900)
committertopecongiro <seuchida@gmail.com>
Wed, 23 Aug 2017 12:56:09 +0000 (21:56 +0900)
commit601e3dac6cd71bf657c04fceb868540031e6db95
treeadd1e3dcb076898b36e486844df0665ead61a6cc
parentf142499539d038ef60f4e22cafe11ecdd8a29a1d
Add reset_err_count() to errors::Handler

The motivation here is to allow rustfmt to recover from parse errors
after failing to parse macros.
src/librustc_errors/lib.rs