summary refs log tree commit diff
path: root/src/librustc_errors/snippet.rs
AgeCommit message (Collapse)AuthorLines
2016-11-23review commentsEsteban Küber-52/+56
2016-11-22Show multiline spans in full if short enoughEsteban Küber-3/+100
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-3/+3
2016-08-07Turn on new errors, json mode. Remove duplicate unicode testJonathan Turner-13/+1
2016-07-14DCE and fixing some internal testsJonathan Turner-731/+2
2016-07-14Implement latest rfc style using simpler renderingJonathan Turner-152/+64
2016-06-23make old school mode a bit more configurableJonathan Turner-7/+36
2016-06-23Move test helper functions to consolidated codemap testingJonathan Turner-0/+887