rust/src/libsyntax
bors d0f6ef080b auto merge of #11620 : alexcrichton/rust/rustc-silent, r=brson
This commit re-works how the monitor() function works and how it both receives
and transmits errors. There are a few cases in which the compiler can abort:

1. A normal compiler error. In this case, the compiler raises a FatalError as
   the failure value of the task. If this happens, then the monitor task does
   nothing. It ignores all stderr output of the child task and it also
   suppresses the failure message of the main task itself. This means that on a
   normal compiler error just the error message itself is printed.

2. A normal internal compiler error. These are invoked from sess.span_bug() and
   friends. In these cases, they follow the same path (raising a FatalError),
   but they will also print an ICE message which has a URL to go report a bug.

3. An actual compiler bug. This happens whenever anything calls fail!() instead
   of going through the session itself. In this case, we print out stuff about
   RUST_LOG=2 and we by default capture all stderr and print via warn!() so it's
   only printed out with the RUST_LOG var set.
2014-01-18 14:36:41 -08:00
..
ext auto merge of #11607 : alexcrichton/rust/issue-9957, r=cmr 2014-01-18 13:01:47 -08:00
parse auto merge of #11598 : alexcrichton/rust/io-export, r=brson 2014-01-17 12:02:07 -08:00
print auto merge of #11598 : alexcrichton/rust/io-export, r=brson 2014-01-17 12:02:07 -08:00
util Rename iterators for consistency 2014-01-18 01:15:15 -05:00
abi.rs libsyntax: Renamed types, traits and enum variants to CamelCase. 2014-01-09 22:25:28 +02:00
ast.rs syntax::ast: Remove/Recover tests 2014-01-17 13:27:47 +09:00
ast_map.rs librustc: Remove @ pointer patterns from the language 2014-01-13 14:45:21 -08:00
ast_util.rs auto merge of #11585 : nikomatsakis/rust/issue-3511-rvalue-lifetimes, r=pcwalton 2014-01-17 07:56:45 -08:00
attr.rs libsyntax: Renamed types, traits and enum variants to CamelCase. 2014-01-09 22:25:28 +02:00
codemap.rs libsyntax: Remove the obsolete ability to parse from substrings. 2014-01-15 10:59:48 -08:00
crateid.rs Rename PkgId to CrateId 2013-12-29 15:25:32 -05:00
diagnostic.rs rustc: Clean up error reporting 2014-01-18 10:49:32 -08:00
fold.rs Load macros from external modules 2014-01-16 15:01:48 -08:00
lib.rs Load macros from external modules 2014-01-16 15:01:48 -08:00
opt_vec.rs Rename iterators for consistency 2014-01-18 01:15:15 -05:00
visit.rs Issue #3511 - Rationalize temporary lifetimes. 2014-01-15 18:34:38 -05:00