]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #37066 - nrc:stderr, r=alexcrichton
authorAlex Crichton <alex@alexcrichton.com>
Wed, 12 Oct 2016 17:15:28 +0000 (10:15 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Wed, 12 Oct 2016 21:07:56 +0000 (14:07 -0700)
commit920f10950ab30dd85da5136a25cf3a9794410e9b
treeea14a4874b3f266730af0de7ae96b2e20108ee7c
parentf05bd1b41ddda779032f4c5c8e30bf640129832f
parent4df0f3f6a607a16def813ca6f7cf04d05160a0de
Rollup merge of #37066 - nrc:stderr, r=alexcrichton

Error monitor should emit error to stderr instead of stdout

We are pretty consistent about emitting to stderr, except for when there is actually an error, in which case we emit to stdout. This seems a bit backwards. This PR just changes that exception to emit to stderr. This is useful for the RLS since the LS protocol uses stdout (grrr).

r? @alexcrichton
src/librustc_driver/lib.rs