| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-01-11 | Move /src/test to /tests | Albert Larsan | -143/+0 | |
| 2022-11-23 | Suggest `.clone()` or `ref binding` on E0382 | Esteban Küber | -0/+40 | |
| 2022-09-06 | Shrink span for bindings with subpatterns. | Camille GILLOT | -8/+8 | |
| 2020-09-02 | pretty: trim paths of unique symbols | Dan Aloni | -10/+10 | |
| 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-08-08 | Be consistent when describing a move as a 'partial' in diagnostics | Aaron Hill | -18/+18 | |
| When an error occurs due to a partial move, we would use the world "partial" in some parts of the error message, but not in others. This commit ensures that we use the word 'partial' in either all or none of the diagnostic messages. Additionally, we no longer describe a move out of a `Box` via `*` as a 'partial move'. This was a pre-existing issue, but became more noticable when the word 'partial' is used in more places. | ||||
| 2020-01-18 | slice_patterns: remove gates in tests | Mazdak Farrokhzad | -10/+10 | |
| 2019-12-09 | Add more tests for borrowck and dropck slice pattern handling | Matthew Jasper | -10/+90 | |
| 2019-07-28 | --bless tests due to new subslice syntax. | Mazdak Farrokhzad | -2/+2 | |
| 2019-04-22 | update tests for migrate mode by default | Matthew Jasper | -0/+23 | |
