summary refs log tree commit diff
path: root/src/librustc_errors/emitter.rs
AgeCommit message (Collapse)AuthorLines
2016-11-23review commentsEsteban Küber-54/+28
2016-11-22Show multiline spans in full if short enoughEsteban Küber-105/+379
When dealing with multiline spans that span few lines, show the complete span instead of restricting to the first character of the first line. For example, instead of: ``` % ./rustc foo.rs error[E0277]: the trait bound `{integer}: std::ops::Add<()>` is not satisfied --> foo.rs:13:9 | 13 | foo(1 + bar(x, | ^ trait `{integer}: std::ops::Add<()>` not satisfied | ``` show ``` % ./rustc foo.rs error[E0277]: the trait bound `{integer}: std::ops::Add<()>` is not satisfied --> foo.rs:13:9 | 13 | foo(1 + bar(x, | ________^ starting here... 14 | | y), | |_____________^ ...ending here: trait `{integer}: std::ops::Add<()>` not satisfied | ```
2016-10-18run rustfmt on librustc_errors folderSrinivas Reddy Thatiparthy-90/+84
2016-09-28Allow supplying an error destination via the compiler driverNick Cameron-2/+4
Allows replacing stderr with a buffer from the client. Also, some refactoring around run_compiler.
2016-09-15Fix wording for out-of-crate macro errorJonathan Turner-1/+2
2016-09-11Use question_mark feature in librustc_errors.Ahmed Charles-17/+17
2016-08-31Special case a few colors for WindowsJonathan Turner-2/+13
2016-08-25prevent error message interleaving on win/unixJonathan Turner-2/+85
2016-08-19wording fixes in error messagesJonathan Turner-1/+3
2016-08-17Rebase. Fix mutable iteration nit.Jonathan Turner-1/+1
2016-08-17Replace local backtrace with def-use, repair std macro spansJonathan Turner-41/+103
2016-08-07Turn on new errors, json mode. Remove duplicate unicode testJonathan Turner-280/+8
2016-07-15Nudge travis by commenting a littleJonathan Turner-0/+1
2016-07-14Teach EmitterWriter about the dangers of quasi-quotingJonathan Turner-7/+20
2016-07-14Add in styled_buffer.rs and remove some unused codeJonathan Turner-52/+21
2016-07-14Fix up some tidy-unfriendly spacingJonathan Turner-3/+7
2016-07-14DCE and fixing some internal testsJonathan Turner-374/+32
2016-07-14Fix a couple UI test failuresJonathan Turner-11/+16
2016-07-14Add back in old school modeJonathan Turner-26/+265
2016-07-14Implement latest rfc style using simpler renderingJonathan Turner-40/+626
2016-07-14Remove CoreEmitter and focus on EmitterJonathan Turner-43/+36
2016-07-14Rename emit_struct->emitJonathan Turner-2/+2
2016-07-14Remove emit from emitter, leaving emit_structJonathan Turner-16/+0
2016-07-14Remove BasicEmitterJonathan Turner-73/+63
2016-06-23make old school mode a bit more configurableJonathan Turner-16/+30
2016-06-23Consolidate codemap tests and fix more errors for travisJonathan Turner-254/+1
2016-06-23Move errors from libsyntax to its own crateJonathan Turner-0/+874