| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2019-02-13 | suggestion-diagnostics: as_ref improve snippet | Dan Robertson | -8/+8 | |
| Improve the code snippet suggested in suggestion-diagnostics when suggesting the use of as_ref. | ||||
| 2019-02-07 | Update tests | varkor | -114/+97 | |
| Co-Authored-By: Gabriel Smith <yodaldevoid@users.noreply.github.com> | ||||
| 2019-01-27 | add typo suggestion to unknown attribute error | Andy Russell | -0/+40 | |
| 2019-01-25 | Combining move lifetime and type suggestions. | David Wood | -5/+106 | |
| This commit combines the move lifetime and move type suggestions so that when rustfix applies them they don't conflict with each other. | ||||
| 2019-01-25 | Suggestion moving types before associated types. | David Wood | -0/+91 | |
| This commit extends existing suggestions to move lifetimes before types in generic arguments to also suggest moving types behind associated type bindings. | ||||
| 2019-01-24 | Rollup merge of #57795 - estebank:did-you-mean, r=zackmdavis | Mazdak Farrokhzad | -9/+3 | |
| Use structured suggestion in stead of notes | ||||
| 2019-01-24 | Rollup merge of #57779 - estebank:recover-struct-fields, r=davidtwco | Mazdak Farrokhzad | -0/+53 | |
| Recover from parse errors in literal struct fields and incorrect float literals Fix #52496. | ||||
| 2019-01-20 | Use structured suggestion in stead of notes | Esteban Küber | -9/+3 | |
| 2019-01-20 | Extend incorrect float literal recovery to account for suffixes | Esteban Küber | -0/+53 | |
| 2019-01-19 | Suggest correct cast for struct fields with shorthand syntax | Esteban Küber | -0/+96 | |
| 2019-01-18 | Fix suggestions given mulitple bad lifetimes | Dan Robertson | -2/+2 | |
| When given multiple lifetimes prior to type parameters in generic parameters, do not ICE and print the correct suggestion. | ||||
| 2019-01-13 | Recover from item trailing semicolon | Esteban Küber | -0/+66 | |
| 2019-01-01 | Fix broken links to second edition TRPL. | Corey Farwell | -1/+1 | |
| Fixes https://github.com/rust-lang/rust/issues/57104. | ||||
| 2018-12-31 | Auto merge of #57047 - euclio:field-structured-suggestions, r=estebank | bors | -3/+3 | |
| use structured suggestions for nonexistent fields r? @estebank | ||||
| 2018-12-31 | use structured suggestions for nonexistent fields | Andy Russell | -3/+3 | |
| 2018-12-28 | Suggest `.as_ref()` when appropriate for `Option` and `Result` | Esteban Küber | -0/+106 | |
| 2018-12-25 | Remove licenses | Mark Rousskov | -324/+214 | |
| 2018-12-16 | Rollup merge of #56761 - estebank:path-display, r=zackmdavis | Mazdak Farrokhzad | -0/+21 | |
| Suggest using `.display()` when trying to print a `Path` Fix #38997. | ||||
| 2018-12-13 | Wording changes | Esteban Küber | -2/+2 | |
| 2018-12-12 | Suggest using `.display()` when trying to print a `Path` | Esteban Küber | -0/+21 | |
| 2018-12-12 | Account for `impl Trait` when suggesting lifetime | Esteban Küber | -0/+55 | |
| 2018-12-04 | Update ui tests | Oliver Scherer | -12/+12 | |
| 2018-12-04 | Update tests | Oliver Scherer | -22/+27 | |
| 2018-11-29 | Rollup merge of #56220 - estebank:suggest-lifetime-move, r=nikomatsakis | Guillaume Gomez | -0/+63 | |
| Suggest appropriate place for lifetime when declared after type arguments | ||||
| 2018-11-26 | Emit one diagnostic for multiple misplaced lifetimes | Esteban Küber | -3/+19 | |
| 2018-11-25 | Move lifetimes before the *first* type argument | Esteban Küber | -2/+2 | |
| 2018-11-25 | Suggest appropriate place for lifetime when declared after type arguments | Esteban Küber | -0/+47 | |
| 2018-11-24 | Suggest correct enum variant on typo | Esteban Küber | -0/+35 | |
| 2018-11-22 | Reword and fix test | Esteban Küber | -3/+3 | |
| 2018-11-22 | Suggest correct syntax when writing type arg instead of assoc type | Esteban Küber | -0/+39 | |
| When confusing an associated type with a type argument, suggest the appropriate syntax. Given `Iterator<isize>`, suggest `Iterator<Item = isize>`. | ||||
| 2018-11-10 | in which the E0618 "expected function" diagnostic gets a makeover | Zack M. Davis | -0/+24 | |
| Now the main span focuses on the erroneous not-a-function callee, while showing the entire call expression is relegated to a secondary span. In the case where the erroneous callee is itself a call, we point out the definition, and, if the call expression spans multiple lines, tentatively suggest a semicolon (because we suspect that the "outer" call is actually supposed to be a tuple). The new `bug!` assertion is, in fact, safe (`confirm_builtin_call` is only called by `check_call`, which is only called with a first arg of kind `ExprKind::Call` in `check_expr_kind`). Resolves #51055. | ||||
| 2018-10-18 | Auto merge of #54979 - estebank:path-unsized, r=nikomatsakis | bors | -0/+21 | |
| Custom E0277 diagnostic for `Path` r? @nikomatsakis we have a way to target `Path` exclusively, we need to identify the correct text to show to consider #23286 fixed. | ||||
| 2018-10-10 | Custom E0277 diagnostic for `Path` | Esteban Küber | -0/+21 | |
| 2018-10-09 | Reword `rustc_on_unimplemented` errors for `Iterator` | Esteban Küber | -9/+9 | |
| - Detect one element array of `Range` type, which is potentially a typo: `for _ in [0..10] {}` where iterating between `0` and `10` was intended. (#23141) - Suggest `.bytes()` and `.chars()` for `String`. - Suggest borrowing or `.iter()` on arrays (#36391) - Suggest using range literal when iterating on integers (#34353) - Do not suggest `.iter()` by default (#50773, #46806) | ||||
| 2018-08-15 | Split tests more and bless them again | ashtneoi | -602/+653 | |
| 2018-08-15 | Move tests into their own directory | ashtneoi | -0/+0 | |
| 2018-08-15 | Re-bless test | ashtneoi | -0/+63 | |
| 2018-08-15 | Test move-into-Fn/FnMut errors too | ashtneoi | -2/+530 | |
| 2018-08-15 | Add another FIXME about suggestions | ashtneoi | -81/+83 | |
| 2018-08-15 | Bless UI tests | ashtneoi | -21/+21 | |
| 2018-08-15 | Test patterns in tuples | ashtneoi | -71/+249 | |
| 2018-08-15 | Coalesce var-is-not-Copy notes per move | ashtneoi | -141/+40 | |
| 2018-08-15 | Dedup suggestions | ashtneoi | -102/+643 | |
| 2018-08-15 | Remove unnecessary underscore | ashtneoi | -7/+7 | |
| 2018-08-15 | Change TODOs to FIXMEs | ashtneoi | -9/+9 | |
| 2018-08-15 | Make move errors more consistent with typeck errors | ashtneoi | -22/+22 | |
| 2018-08-15 | Make move error suggestions clearer | ashtneoi | -80/+80 | |
| 2018-08-15 | Add backquotes around variable name | ashtneoi | -51/+51 | |
| 2018-08-15 | Fix move errors for index expressions | ashtneoi | -17/+44 | |
| The suggestion logic gave up too early, which kept it from suggesting borrowing index expressions. | ||||
| 2018-08-15 | Test move errors for index expressions | ashtneoi | -80/+313 | |
