about summary refs log tree commit diff
path: root/src/librustc_errors/json.rs
AgeCommit message (Collapse)AuthorLines
2020-03-10rustc_errors: Use ensure_source_file_source_present where necessary.Ana-Maria Mihalache-0/+5
2020-02-29added `try_find_description` to distinguish no desc from invalid codeJake Vossen-3/+3
2020-02-29Auto merge of #69227 - Marwes:buffer_stderr, r=varkorbors-3/+5
perf: Buffer stderr when writing json errors/warnings Since `stderr` is unbuffered, writing out json messages actually take up about ~10%/0.1s of the runtime of the `inflate` benchmark as it generates a fair number of warnings. cc #64413
2020-02-22Rename CodeMap to SourceMap follow upMaxim Zholobak-4/+4
2020-02-17Ensure diagnostics are printed in the correct orderMarkus Westerlind-2/+4
Even when buffered. Ideally we would flush only when the emitter is done, but that requires larger changes. This gives most of the benefit of buffering in any case.
2020-02-17perf: Buffer stderr when writing json errors/warningsMarkus Westerlind-1/+1
Since `stderr` is unbuffered, writing out json messages actually take up about ~10%/0.1s of the runtime of the `inflate` benchmark. cc #64413
2020-02-06rustc: rename -Zexternal-macro-backtrace to -Zmacro-backtrace.Eduard-Mihai Burtescu-14/+8
2020-01-26rustc_span: return an impl Iterator instead of a Vec from macro_backtrace.Eduard-Mihai Burtescu-2/+2
2020-01-26rustc_span: replace MacroBacktrace with ExpnData.Eduard-Mihai Burtescu-4/+5
2020-01-01Rename `syntax_pos` to `rustc_span` in source codeVadim Petrochenkov-3/+3
2019-12-22Format the worldMark Rousskov-112/+109
2019-11-15Move JSON emitter to rustc_errorsMark Rousskov-0/+434