rust/src
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
..
compiler-rt@58ab642c30
compiletest Fix #27567: remove --crate-type=lib from pretty test 2015-08-11 13:00:38 +02:00
doc Auto merge of #27922 - tshepang:dst-definition, r=alexcrichton 2015-08-23 06:06:52 +00:00
driver
error-index-generator diagnostics: Resurrect the Compiler Error Index. 2015-06-20 16:57:40 +10:00
etc Auto merge of #27684 - alexcrichton:remove-deprecated, r=aturon 2015-08-13 23:32:30 +00:00
grammar rustc: rename multiple imports in a list 2015-08-08 11:54:15 -07:00
jemalloc@e24a1a025a
liballoc Auto merge of #27871 - alexcrichton:stabilize-libcore, r=aturon 2015-08-22 09:59:07 +00:00
liballoc_jemalloc test: Fix tests for requiring issues 2015-08-15 19:35:52 -07:00
liballoc_system test: Fix tests for requiring issues 2015-08-15 19:35:52 -07:00
libarena rustdoc: Removed issue_tracker_base_url from crates not in public API docs 2015-08-17 20:37:30 +02:00
libbacktrace 'iff' for docs to 'if and only if' 2015-07-08 21:17:13 -05:00
libcollections Auto merge of #27860 - m4rw3r:rustdoc_unstable_feature_issue, r=alexcrichton 2015-08-22 08:16:53 +00:00
libcollectionstest Auto merge of #27474 - bluss:twoway-reverse, r=brson 2015-08-18 02:02:57 +00:00
libcore Rollup merge of #27904 - tshepang:nit, r=nikomatsakis 2015-08-22 19:15:42 -04:00
libcoretest Auto merge of #27915 - SimonSapin:dotted_i, r=alexcrichton 2015-08-22 23:15:32 +00:00
libflate rustdoc: Removed issue_tracker_base_url from crates not in public API docs 2015-08-17 20:37:30 +02:00
libfmt_macros rustdoc: Removed issue_tracker_base_url from crates not in public API docs 2015-08-17 20:37:30 +02:00
libgetopts rustdoc: Removed issue_tracker_base_url from crates not in public API docs 2015-08-17 20:37:30 +02:00
libgraphviz rustdoc: Removed issue_tracker_base_url from crates not in public API docs 2015-08-17 20:37:30 +02:00
liblibc Auto merge of #27971 - tbu-:pr_cloexec, r=alexcrichton 2015-08-25 07:23:18 +00:00
liblog rustdoc: Removed issue_tracker_base_url from crates not in public API docs 2015-08-17 20:37:30 +02:00
librand Auto merge of #27823 - eefriedman:float-dep-core, r=alexcrichton 2015-08-18 04:23:25 +00:00
librbml rustdoc: Removed issue_tracker_base_url from crates not in public API docs 2015-08-17 20:37:30 +02:00
librustc Respect --color when printing early errors 2015-08-25 18:08:57 +09:00
librustc_back Auto merge of #27957 - overminder:aug23-i686-android, r=alexcrichton 2015-08-25 03:04:30 +00:00
librustc_bitflags Add issue for the rustc_private feature everywhere 2015-08-15 18:09:17 -07:00
librustc_borrowck store the CodeExtent directly in FreeRegion 2015-08-24 20:46:52 +03:00
librustc_data_structures Fix panic in docs for librustc_data_structures 2015-08-23 18:17:27 +05:30
librustc_driver Respect --color when printing early errors 2015-08-25 18:08:57 +09:00
librustc_lint Auto merge of #27857 - Manishearth:improve-fnkind, r=pnkfelix 2015-08-24 12:47:57 +00:00
librustc_llvm rustdoc: Removed issue_tracker_base_url from crates not in public API docs 2015-08-17 20:37:30 +02:00
librustc_platform_intrinsics Tweak aarch64 SIMD intrinsics. 2015-08-19 14:21:21 -07:00
librustc_privacy fallout from moving def-id 2015-08-24 05:35:34 -04:00
librustc_resolve Auto merge of #27857 - Manishearth:improve-fnkind, r=pnkfelix 2015-08-24 12:47:57 +00:00
librustc_trans Use a Vec instead of an HashMap for the scope hierarchy 2015-08-24 20:24:38 +03:00
librustc_typeck store the CodeExtent directly in FreeRegion 2015-08-24 20:46:52 +03:00
librustc_unicode rustdoc: Added issue_tracker_base_url annotations to crates 2015-08-16 22:15:26 +02:00
librustdoc Respect --color when printing early errors 2015-08-25 18:08:57 +09:00
libserialize rustdoc: Removed issue_tracker_base_url from crates not in public API docs 2015-08-17 20:37:30 +02:00
libstd Auto merge of #27971 - tbu-:pr_cloexec, r=alexcrichton 2015-08-25 07:23:18 +00:00
libsyntax Auto merge of #27239 - apasel422:issue-19102, r=huonw 2015-08-24 18:43:41 +00:00
libterm rustdoc: Removed issue_tracker_base_url from crates not in public API docs 2015-08-17 20:37:30 +02:00
libtest test: Don't panic if some tests failed 2015-08-17 12:58:19 -07:00
llvm@874dc4ee4c Update LLVM 2015-07-16 20:25:51 -07:00
rt Auto merge of #27957 - overminder:aug23-i686-android, r=alexcrichton 2015-08-25 03:04:30 +00:00
rust-installer@c37d3747da Fix error message spans 2015-07-25 19:57:59 -07:00
rustbook Use https URLs to refer to rust-lang.org where appropriate. 2015-08-09 14:28:46 -07:00
rustllvm Remove morestack support 2015-08-10 16:35:44 -07:00
test Respect --color when printing early errors 2015-08-25 18:08:57 +09:00
snapshots.txt Fixes #27805 - adds missing snapshots for Bitrig and FreeBSD 2015-08-13 13:45:04 -07:00