summary refs log tree commit diff
path: root/src/test/ui/if
AgeCommit message (Expand)AuthorLines
2019-12-06Do not ICE whith a precision flag in formatting str and no format argumentsEsteban Küber-1/+17
2019-11-03Update error annotations positionsTomasz Miąsko-6/+8
2019-10-26Rollup merge of #65773 - estebank:sugg-whitespace, r=CentrilMazdak Farrokhzad-0/+1
2019-10-24Increase spacing for suggestions in diagnosticsEsteban Küber-0/+1
2019-10-23Tweak format string error to point at arguments alwaysEsteban Küber-4/+6
2019-10-08Call `Expr::peel_drop_temps()` from more places for more accurate suggestionsEsteban Küber-4/+16
2019-10-08Ignore `ExprKind::DropTemps` for some ref suggestionsEsteban Küber-20/+8
2019-10-06Suggest dereferencing boolean reference when used in 'if' or 'while'wangxiangqing-2/+2
2019-10-06Suggest dereferencing boolean reference when used in 'if' or 'while'wangxiangqing-10/+34
2019-08-31Emit a single error on if expr with expectation and no else clauseEsteban Küber-82/+7
2019-07-29review commentsEsteban Küber-7/+7
2019-07-29Improve handling of invalid references in `format!()`Esteban Küber-5/+48
2019-07-29On `format!()` arg count mismatch provide extra infoEsteban Küber-1/+62
2019-07-20Auto merge of #62710 - estebank:bad-named-args, r=petrochenkovbors-5/+7
2019-07-17normalize use of backticks in compiler messages for librustc/lintSamy Kacimi-1/+1
2019-07-15Specific error for positional args after named args in `format!()`Esteban Küber-5/+7
2019-07-06Make sure while-exprs require 'cond: bool' exactly.Mazdak Farrokhzad-1/+43
2019-07-03Migrate compile-pass annotations to build-passYuki Okushi-1/+1
2019-06-16compiletest: Remove `skip-codegen`Vadim Petrochenkov-4/+2
2019-05-10add test checking that 'if cond { .. }' where 'cond: &mut? bool' isn't accepted.Mazdak Farrokhzad-0/+61
2019-05-10Various test changesMazdak Farrokhzad-9/+157
2019-03-21Auto merge of #58981 - estebank:elseless-if, r=davidtwcobors-1/+80
2019-03-11Update testsVadim Petrochenkov-25/+25
2019-03-07Add more details to elseless if errorEsteban Küber-2/+51
2019-03-07address review commentsEsteban Küber-6/+8
2019-03-07Point at coercion reason for if exprs without else clauseEsteban Küber-0/+28
2019-02-07Reweork incompatible match arms errorEsteban Küber-19/+12
2019-01-13Tweak output of type mismatch between "then" and `else` `if` armsEsteban Küber-2/+4
2019-01-12Stabilise irrefutable if-let and while-let patternsvarkor-33/+58
2018-12-31Improve type mismatch error messagesYuning Zhang-3/+3
2018-12-26Add span label to unused string formatting argumentEsteban Küber-12/+14
2018-12-26Various changes to string format diagnosticsEsteban Küber-1/+7
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
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
2018-08-14Merged migrated compile-fail tests and ui tests. Fixes #46841.David Wood-0/+648