]> git.lizzy.rs Git - rust.git/commit
Discard every parsing error in silent_emitter
authortopecongiro <seuchida@gmail.com>
Sun, 24 Mar 2019 08:01:09 +0000 (17:01 +0900)
committertopecongiro <seuchida@gmail.com>
Sun, 24 Mar 2019 08:44:55 +0000 (17:44 +0900)
commit037cf2c43649b7040befd38122c2f86db5968580
treebd5e8df9e636b91f1ffa43a01d58b9ef4349c106
parentb6dac248ec2f5580b2f4deab931efa8992ece40d
Discard every parsing error in silent_emitter

`EmitterWriter` from rustc is wasting soooo much time constructing an error
message that will never be emitted, instead we just implement our own `Emitter`
that just discards every error message.
src/formatting.rs