about summary refs log tree commit diff
path: root/src/test/ui/if
AgeCommit message (Expand)AuthorLines
2020-11-24Move src/test/ui/if to src/test/ui/expr/ifHavvy (Ryan Scheel)-1025/+0
2020-09-02pretty: trim paths of unique symbolsDan Aloni-4/+4
2020-06-27Improve messaging from PR feedbackDavid Hewitt-10/+5
2020-06-24Add `format_args_capture` featureDavid Hewitt-0/+15
2020-05-08Skip tests on emscriptenYuki Okushi-0/+4
2020-05-06Move tests from `test/run-fail` to UIYuki Okushi-0/+67
2020-04-30Rollup merge of #71433 - antoyo:error/missing-right-operand, r=Dylan-DPCDylan DPC-0/+2
2020-04-23Moving more build-pass tests to check-passVal Markovic-1/+1
2020-04-22Add help message for missing right operand in conditionAntoni Boucher-0/+2
2020-04-11rustc: Add a warning count upon completionRoccoDev-0/+2
2020-02-06rustc_macros: don't limit the -Zmacro-backtrace suggestion to extern macros.Eduard-Mihai Burtescu-0/+8
2020-01-05Add backticks to various diagnosticsvarkor-20/+20
2019-12-23refactor parse_if_exprMazdak Farrokhzad-2/+2
2019-12-23more recovery in if-parsingMazdak Farrokhzad-2/+2
2019-11-25Tweak duplicate fmt arg errorEsteban Küber-7/+3
2019-11-18Surround types with backticks in type errorsEsteban Küber-23/+23
2019-11-18Remove E0308 note when primary label has all infoEsteban Küber-47/+0
2019-11-18review comments: tweak prefix stringsEsteban Küber-15/+15
2019-11-18Specific labels when referring to "expected" and "found" typesEsteban Küber-21/+21
2019-11-09Rollup merge of #66134 - estebank:unknown-formatting-trait, r=nikomatsakisMazdak Farrokhzad-4/+4
2019-11-06Rollup merge of #66093 - estebank:fmt-ice, r=CentrilMazdak Farrokhzad-1/+17
2019-11-05Point at formatting descriptor string when it is invalidEsteban Küber-4/+4
2019-11-05Do 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