summary refs log tree commit diff
path: root/src/test/ui/missing-items
AgeCommit message (Collapse)AuthorLines
2017-03-09Fix ICE: don't use `struct_variant` on enumsEsteban Küber-0/+34
Fix #40221 and add unittest.
2016-12-09Add UI test for missing type parameterKeith Yeung-0/+25
2016-11-22Show multiline spans in full if short enoughEsteban Küber-2/+4
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-14test: Move missing-items to a ui testAlex Crichton-0/+52
This test is failing on nightly for unknown reasons, and my best guess is a difference in grep versions which is interpreting symbols differently. For now let's just move this to a ui test and hope it fixes nightlies.