about summary refs log tree commit diff
path: root/src/test/ui/if
AgeCommit message (Collapse)AuthorLines
2019-01-12Stabilise irrefutable if-let and while-let patternsvarkor-33/+58
This stabilises RFC 2086 (https://github.com/rust-lang/rust/issues/44495). Co-Authored-By: Sebastian Malton <sebastian@malton.name>
2018-12-31Improve type mismatch error messagesYuning Zhang-3/+3
Replace "integral variable" with "integer" and replace "floating-point variable" with "floating-point number" to make the message less confusing.
2018-12-26Add span label to unused string formatting argumentEsteban Küber-12/+14
Fix #55350.
2018-12-26Various changes to string format diagnosticsEsteban Küber-1/+7
- Point at opening mismatched formatting brace - Account for differences between raw and regular strings - Account for differences between the code snippet and `InternedString` - Add more tests
2018-12-25Remove licensesMark Rousskov-155/+45
2018-11-07Removed `#[rustc_error]` from tests that are all `// compile-pass`.Felix S. Klock II-12/+4
I also added `// skip-codegen` to each one, to address potential concerns that this change would otherwise slow down our test suite spending time generating code for files that are really just meant to be checks of compiler diagnostics. (However, I will say: My preference is to not use `// skip-codegen` if one can avoid it. We can use all the testing of how we drive LLVM that we can get...) (Updated post rebase.)
2018-10-28Use token description in "expected/found" parse messagesEsteban Küber-1/+2
2018-10-03remove padding from multiline format string labelAndy Russell-1/+21
Fixes #53836.
2018-08-14Merged migrated compile-fail tests and ui tests. Fixes #46841.David Wood-0/+648