rust/src/librustdoc
Barosl Lee 71f39c1a2f Respect --color when printing early errors
Currently, `early_error` and `early_warn` in `librustc::session` always
use `ColorConfig::Auto`. Modify them to follow the color configuration
set by the `--color` option.

As colored output is also printed during the early stage, parsing the
`--color` option should be done as early as possible. However, there are
still some cases when the output needs to be colored before knowing the
exact color settings. In these cases, it will be defaulted to
`ColorConfig::Auto`, which is the same as before.

Fixes #27879.
2015-08-25 18:08:57 +09:00
..
2015-08-24 05:35:34 -04:00
2015-07-01 19:09:14 -07:00
2015-07-30 15:51:50 -07:00
2015-08-24 05:35:34 -04:00
2015-08-24 05:35:34 -04:00