summary refs log tree commit diff
path: root/src/test/ui/compare-method
AgeCommit message (Collapse)AuthorLines
2017-01-20Test fixes from the rollupAlex Crichton-12/+2
2017-01-17Teach Diagnostics to highlight textEsteban Küber-1/+1
2016-11-22Show multiline spans in full if short enoughEsteban Küber-8/+16
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-11-01move compile-fail tests to ui testsNiko Matsakis-7/+313
gets more comprehensive coverage in `ui`
2016-11-01update ref fileNiko Matsakis-8/+0
2016-11-01compare-method lintNiko Matsakis-9/+36
2016-11-01cleanup error reporting and add `ui` testsNiko Matsakis-0/+113