| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-01-11 | Move /src/test to /tests | Albert Larsan | -1124/+0 | |
| 2022-10-07 | Rollup merge of #102720 - lyming2007:issue-102397-fix, r=compiler-errors | Matthias Krüger | -4/+4 | |
| do not reverse the expected type and found type for ObligationCauseCo… …de of IfExpressionWithNoElse this will fix #102397 | ||||
| 2022-10-06 | Rollup merge of #102708 - TaKO8Ki:improve-eqeq-suggestion, r=estebank | Matthias Krüger | -0/+5 | |
| Suggest `==` to wrong assign expr Given the following code: ```rust fn main() { let x = 3; let y = 3; if x == x && y = y { println!("{}", x); } } ``` Current output is: ``` error[E0308]: mismatched types --> src/main.rs:4:18 | 4 | if x == x && y = y { | ^ expected `bool`, found integer error[E0308]: mismatched types --> src/main.rs:4:8 | 4 | if x == x && y = y { | ^^^^^^^^^^^^^^^ expected `bool`, found `()` ``` This adds a suggestion: ```diff error[E0308]: mismatched types --> src/main.rs:6:18 | 6 | if x == x && y = y { | ^ expected `bool`, found integer error[E0308]: mismatched types --> src/main.rs:6:8 | 6 | if x == x && y = y { | ^^^^^^^^^^^^^^^ expected `bool`, found `()` | + help: you might have meant to compare for equality + | + 6 | if x == x && y == y { + | + ``` And this fixes a part of #97469 | ||||
| 2022-10-05 | do not reverse the expected type and found type for ObligationCauseCode of ↵ | Yiming Lei | -4/+4 | |
| IfExpressionWithNoElse this will fix #102397 | ||||
| 2022-10-05 | suggest `==` to the rest of assign expr | Takayuki Maeda | -0/+5 | |
| 2022-10-01 | bless ui tests | Maybe Waffle | -1/+1 | |
| 2022-08-29 | Revert let_chains stabilization | Nilstrieb | -6/+18 | |
| This reverts commit 326646074940222d602f3683d0559088690830f4. This is the revert against master, the beta revert was already done in #100538. | ||||
| 2022-08-04 | Resolve vars before emitting coerce error | Michael Goulet | -0/+15 | |
| 2022-07-19 | Mention first and last macro in backtrace | Michael Goulet | -1/+1 | |
| 2022-07-16 | Stabilize `let_chains` | Caio | -18/+6 | |
| 2022-06-16 | diagnostics: fix trailing space | klensy | -4/+4 | |
| 2022-06-13 | Improve parsing errors and suggestions for bad if statements | Michael Goulet | -12/+7 | |
| 2022-06-07 | Don't suggest adding let in certain if conditions | Michael Goulet | -0/+93 | |
| 2022-01-18 | Formally implement let chains | Caio | -12/+1 | |
| 2021-12-01 | Improve diagnostic for missing half of binary operator in `if` condition | Fabian Wolff | -1/+5 | |
| 2021-11-14 | Move some tests to more reasonable directories | Caio | -0/+52 | |
| 2021-10-15 | Bless tests | Cameron Steffen | -2/+2 | |
| 2021-08-15 | Introduce hir::ExprKind::Let - Take 2 | Caio | -34/+20 | |
| 2021-08-11 | Modify structured suggestion output | Esteban Küber | -12/+16 | |
| * On suggestions that include deletions, use a diff inspired output format * When suggesting addition, use `+` as underline * Color highlight modified span | ||||
| 2021-07-30 | Use multispan suggestions more often | Esteban Küber | -32/+48 | |
| * Use more accurate span for `async move` suggestion * Use more accurate span for deref suggestion * Use `multipart_suggestion` more often | ||||
| 2021-05-12 | Show macro name in 'this error originates in macro' message | Aaron Hill | -2/+2 | |
| When there are multiple macros in use, it can be difficult to tell which one was responsible for producing an error. | ||||
| 2021-02-18 | Add explanations and suggestions to `irrefutable_let_patterns` lint | Camelid | -0/+16 | |
| 2021-02-18 | Rollup merge of #82215 - TaKO8Ki:replace-if-let-while-let, r=varkor | Dylan DPC | -16/+16 | |
| Replace if-let and while-let with `if let` and `while let` This pull request replaces if-let and while-let with `if let` and `while let`. closes https://github.com/rust-lang/rust/issues/82205 | ||||
| 2021-02-17 | replace if-let and while-let with `if let` and `while let` | Takayuki Maeda | -16/+16 | |
| 2021-02-16 | Move some tests to more reasonable directories | Caio | -0/+45 | |
| 2020-12-04 | Move format machinery tests to where they belong | Aleksey Kladov | -486/+0 | |
| 2020-11-24 | Move src/test/ui/if-*.rs to src/test/expr/if/if-*.rs | Havvy (Ryan Scheel) | -0/+189 | |
| 2020-11-24 | Move src/test/ui/if-attrs to src/test/ui/expr/if/attrs | Havvy (Ryan Scheel) | -0/+176 | |
| 2020-11-24 | Move src/test/ui/if to src/test/ui/expr/if | Havvy (Ryan Scheel) | -0/+1025 | |
