| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-01-11 | Move /src/test to /tests | Albert Larsan | -3474/+0 | |
| 2023-01-01 | Verbose suggestions | Esteban Küber | -6/+10 | |
| 2022-11-23 | Account for `x @ y` and suggest `ref x @ ref y` | Esteban Küber | -16/+181 | |
| 2022-11-23 | Suggest `.clone()` or `ref binding` on E0382 | Esteban Küber | -4/+92 | |
| 2022-09-13 | Rebase fallout. | Camille GILLOT | -12/+8 | |
| 2022-09-06 | Shrink span for bindings with subpatterns. | Camille GILLOT | -151/+100 | |
| 2021-10-11 | Edit explanation of test for nested type ascriptions | pierwill | -1/+1 | |
| Closes #88233 | ||||
| 2021-08-11 | Modify structured suggestion output | Esteban Küber | -4/+4 | |
| * On suggestions that include deletions, use a diff inspired output format * When suggesting addition, use `+` as underline * Color highlight modified span | ||||
| 2021-06-04 | updated line #'s on ui tests and removed feature flag test | marcusdunn | -217/+202 | |
| 2021-06-04 | removed uses of feature gate | marcusdunn | -40/+0 | |
| 2021-03-19 | update tests | mark | -14/+10 | |
| 2021-02-06 | path trimming: ignore type aliases | Dan Aloni | -4/+4 | |
| 2020-11-03 | review comments | Vishnunarayan K I | -1/+4 | |
| 2020-11-03 | add tests | Vishnunarayan K I | -0/+49 | |
| 2020-11-03 | preserve bindings order for Some | Vishnunarayan K I | -201/+159 | |
| 2020-11-02 | new fix method and update tests | Vishnunarayan K I | -56/+56 | |
| 2020-11-02 | reverse binding order in matches ... | Vishnunarayan K I | -708/+627 | |
| ... to allow the subbinding of copyable fields in bindings after `@` Fixes #69971 | ||||
| 2020-09-15 | Stabilize move_ref_pattern | Amjad Alsharafi | -208/+196 | |
| 2020-09-02 | pretty: trim paths of unique symbols | Dan Aloni | -75/+75 | |
| If a symbol name can only be imported from one place for a type, and as long as it was not glob-imported anywhere in the current crate, we can trim its printed path and print only the name. This has wide implications on error messages with types, for example, shortening `std::vec::Vec` to just `Vec`, as long as there is no other `Vec` importable anywhere. This adds a new '-Z trim-diagnostic-paths=false' option to control this feature. On the good path, with no diagnosis printed, we should try to avoid issuing this query, so we need to prevent trimmed_def_paths query on several cases. This change also relies on a previous commit that differentiates between `Debug` and `Display` on various rustc types, where the latter is trimmed and presented to the user and the former is not. | ||||
| 2020-07-31 | Rename HAIR to THIR (Typed HIR). | Valentin Lazureanu | -1/+1 | |
| 2020-06-24 | Provide suggestions for some moved value errors | Esteban Küber | -0/+24 | |
| When encountering an used moved value where the previous move happened in a `match` or `if let` pattern, suggest using `ref`. Fix #63988. When encountering a `&mut` value that is used in multiple iterations of a loop, suggest reborrowing it with `&mut *`. Fix #62112. | ||||
| 2020-03-25 | borrowck: prefer "value" over "`_`". | Mazdak Farrokhzad | -41/+41 | |
| 2020-03-04 | test(pattern): harden tests for or-patterns with slice-patterns | Matthew Kuo | -2/+15 | |
| Some of the nested OR paths were being missed | ||||
| 2020-03-04 | test(pattern): add tests for combinations of pattern features | Matthew Kuo | -0/+204 | |
| Reference issue #67311 Tests combinations of the following pattern features: - bindings_after_at - or_patterns - slice_patterns - box_patterns | ||||
| 2020-02-21 | Fix error message | LeSeulArtichaut | -33/+33 | |
| Bless tests | ||||
| 2020-02-11 | Auto merge of #68929 - matprec:consistent-issue-references, r=Dylan-DPC | bors | -1/+1 | |
| Make issue references consistent Fixes https://github.com/rust-lang/rust/issues/62976 cc https://github.com/rust-lang/rust/pull/63008 r? @varkor because you reviewed the original pr | ||||
| 2020-02-09 | --bless --compare-mode=nll | Matthias Prechtl | -1/+1 | |
| 2020-02-09 | Don't parse `mut a @ b` as `mut a @ mut b` | Matthew Jasper | -0/+75 | |
| 2020-02-09 | Auto merge of #68376 - Centril:move-ref-patterns, r=matthewjasper | bors | -635/+1523 | |
| Initial implementation of `#![feature(move_ref_pattern)]` Following up on #45600, under the gate `#![feature(move_ref_pattern)]`, `(ref x, mut y)` is allowed subject to restrictions necessary for soundness. The match checking implementation and tests for `#![feature(bindings_after_at)]` is also adjusted as necessary. Closes #45600. Tracking issue: #68354. r? @matthewjasper | ||||
| 2020-02-02 | move_ref_pattern: change pov in diagnostics & add binding names | Mazdak Farrokhzad | -457/+457 | |
| 2020-02-02 | move_ref_patterns: introduce tests | Mazdak Farrokhzad | -400/+1288 | |
| bindings_after_at: harden tests | ||||
| 2020-02-01 | Remove or_patterns from INCOMPLETE_FEATURES | Matthew Jasper | -19/+10 | |
| 2020-01-18 | slice_patterns: remove gates in tests | Mazdak Farrokhzad | -124/+117 | |
| 2020-01-09 | Update tests | Vadim Petrochenkov | -12/+30 | |
| 2019-12-23 | Remove `bindings_after_at` from `INCOMPLETE_FEATURES`. | Mazdak Farrokhzad | -284/+151 | |
| 2019-12-23 | Test that nested type ascription is banned. | Mazdak Farrokhzad | -0/+69 | |
| 2019-12-23 | Test that `_ @ subpat` is syntactically rejected. | Mazdak Farrokhzad | -0/+59 | |
| 2019-12-23 | harden & split borrowck-pat-at-and-box | Mazdak Farrokhzad | -62/+139 | |
| 2019-12-23 | enhance borrowck-pat-by-copy-bindings-in-at | Mazdak Farrokhzad | -0/+7 | |
| 2019-12-23 | clarify bind-by-move-neither-can-livee.. | Mazdak Farrokhzad | -4/+72 | |
| 2019-12-23 | bindings_after_at: harden tests wrt. contexts & slice_patterns | Mazdak Farrokhzad | -108/+477 | |
| 2019-12-23 | bindings_after_at: harden tests wrt. promotion | Mazdak Farrokhzad | -93/+235 | |
| 2019-12-23 | --bless bindings-after-at tests | Mazdak Farrokhzad | -66/+497 | |
| 2019-12-23 | check_legality_of_move_bindings: generalize diagnostics & add comments | Mazdak Farrokhzad | -12/+13 | |
| 2019-12-23 | Introduce `#![feature(bindings_after_at)]`. | Mazdak Farrokhzad | -0/+1118 | |
| Under the gate, `x @ Some(y)` is allowed. This is subject to various restrictions for soundness. | ||||
