| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2025-04-30 | compiletest: Make diagnostic kind mandatory on line annotations | Vadim Petrochenkov | -5/+5 | |
| 2025-02-14 | Trim suggestion parts to the subset that is purely additive | Michael Goulet | -3/+3 | |
| 2025-02-14 | Use underline suggestions for purely 'additive' replacements | Michael Goulet | -9/+6 | |
| 2025-02-10 | Show diff suggestion format on verbose replacement | Esteban Küber | -8/+12 | |
| ``` error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields --> $DIR/attempted-access-non-fatal.rs:7:15 | LL | let _ = 2.l; | ^ | help: if intended to be a floating point literal, consider adding a `0` after the period and a `f64` suffix | LL - let _ = 2.l; LL + let _ = 2.0f64; | ``` | ||||
| 2024-11-23 | Update tests for new TRPL chapter order | Chris Krycho | -4/+4 | |
| 2024-11-17 | Make suggestion verbose | Esteban Küber | -16/+20 | |
| 2024-11-17 | Unify expanded constants and named constants in `PatKind` | Esteban Küber | -9/+30 | |
| 2024-11-17 | Use `item_name` instead of a span snippet when talking about const pattern | Esteban Küber | -2/+2 | |
| 2024-11-17 | Point at `const` definition when used instead of a binding in a `let` statement | Esteban Küber | -6/+12 | |
| After: ``` error[E0005]: refutable pattern in local binding --> $DIR/bad-pattern.rs:19:13 | LL | const PAT: u32 = 0; | -------------- missing patterns are not covered because `PAT` is interpreted as a constant pattern, not a new variable ... LL | let PAT = v1; | ^^^ | | | pattern `1_u32..=u32::MAX` not covered | help: introduce a variable instead: `PAT_var` | = note: `let` bindings require an "irrefutable pattern", like a `struct` or an `enum` with only one variant = note: for more information, visit https://doc.rust-lang.org/book/ch18-02-refutability.html = note: the matched value is of type `u32` ``` Before: ``` error[E0005]: refutable pattern in local binding --> $DIR/bad-pattern.rs:19:13 | LL | let PAT = v1; | ^^^ | | | pattern `1_u32..=u32::MAX` not covered | missing patterns are not covered because `PAT` is interpreted as a constant pattern, not a new variable | help: introduce a variable instead: `PAT_var` | = note: `let` bindings require an "irrefutable pattern", like a `struct` or an `enum` with only one variant = note: for more information, visit https://doc.rust-lang.org/book/ch18-02-refutability.html = note: the matched value is of type `u32` ``` | ||||
| 2023-04-03 | Reinstate confusion note. | Camille GILLOT | -17/+17 | |
| 2023-04-03 | Perform match checking on THIR. | Camille GILLOT | -26/+23 | |
| 2023-01-11 | Migrate pattern matching | mejrs | -8/+11 | |
| 2023-01-11 | Move /src/test to /tests | Albert Larsan | -0/+45 | |
