| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-01-11 | Move /src/test to /tests | Albert Larsan | -859/+0 | |
| 2022-12-28 | On unsized locals with explicit types suggest `&` | Esteban Küber | -0/+71 | |
| Fix #72742. | ||||
| 2022-12-13 | Clarify what "this" means | Oli Scherer | -2/+2 | |
| 2022-11-23 | review comments: inline bindings and fix typo | Esteban Küber | -2/+2 | |
| 2022-11-23 | Fix wording | Esteban Küber | -2/+2 | |
| 2022-11-23 | Remove logic duplication | Esteban Küber | -2/+2 | |
| 2022-11-23 | Suggest `.clone()` or `ref binding` on E0382 | Esteban Küber | -0/+21 | |
| 2022-10-01 | bless ui tests | Maybe Waffle | -5/+5 | |
| 2022-08-21 | Rework point-at-arg | Michael Goulet | -3/+1 | |
| 2022-08-03 | Warn about dead tuple struct fields | Fabian Wolff | -1/+1 | |
| 2021-10-25 | fix(rustc_typeck): report function argument errors on matching type | Michael Howell | -1/+1 | |
| Fixes #90101 | ||||
| 2021-09-16 | Point at call span that introduced obligation for the arg | Esteban Kuber | -1/+3 | |
| 2021-09-16 | Refactor `FulfillmentError` to track less data | Esteban Kuber | -1/+1 | |
| Move the information about pointing at the call argument expression in an unmet obligation span from the `FulfillmentError` to a new `ObligationCauseCode`. | ||||
| 2021-04-06 | Point at `impl` and type defs introducing requirements on E0277 | Esteban Küber | -3/+15 | |
| 2021-01-08 | Change wording of note | Aaron Hill | -2/+2 | |
| 2020-10-27 | Merge unsized locals pat tests | Santiago Pastorino | -39/+29 | |
| 2020-10-27 | Bless tests again | Santiago Pastorino | -3/+3 | |
| 2020-10-27 | Add comment explaining why in these tests unsized locals are not accepted | Santiago Pastorino | -0/+4 | |
| 2020-10-27 | Do not use unsized_fn_params in patterns | Santiago Pastorino | -1/+35 | |
| 2020-10-27 | Test that unsized locals fail when turning unsized_fn_params feature flag on | Santiago Pastorino | -0/+20 | |
| 2020-10-27 | Better test unsized_fn_params | Santiago Pastorino | -8/+8 | |
| 2020-10-27 | unsized_locals feature is not needed in this test | Santiago Pastorino | -1/+1 | |
| 2020-10-27 | Using unsized_local feature is not needed in these tests | Santiago Pastorino | -30/+9 | |
| 2020-10-27 | Make tidy happy | Santiago Pastorino | -7/+7 | |
| 2020-10-27 | Add unsized_locals to INCOMPLETE_FEATURES list | Santiago Pastorino | -33/+110 | |
| 2020-10-27 | Add unsized_fn_params feature | Santiago Pastorino | -27/+25 | |
| 2020-09-02 | pretty: trim paths of unique symbols | Dan Aloni | -12/+12 | |
| 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 | -4/+4 | |
| 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-07-14 | Remove `Sized` `on_unimplemented` note | Esteban Küber | -8/+0 | |
| 2020-06-26 | Explain move errors that occur due to method calls involving `self` | Aaron Hill | -2/+14 | |
| This is a re-attempt of #72389 (which was reverted in #73594) Instead of using `ExpnKind::Desugaring` to represent operators, this PR checks the lang item directly. | ||||
| 2020-06-22 | Revert "Rollup merge of #72389 - Aaron1011:feature/move-fn-self-msg, ↵ | Aaron Hill | -14/+2 | |
| r=nikomatsakis" This reverts commit 372cb9b69c76a042d0b9d4b48ff6084f64c84a2c, reversing changes made to 5c61a8dc34c3e2fc6d7f02cb288c350f0233f944. | ||||
| 2020-06-11 | Use `fn_span` to point to the actual method call | Aaron Hill | -2/+2 | |
| 2020-06-11 | Explain move errors that occur due to method calls involving `self` | Aaron Hill | -2/+14 | |
| 2020-04-30 | Test for zero-sized function items not ICEing | Jubilee Young | -0/+40 | |
| 2020-04-18 | Make Box<dyn FnOnce> respect self alignment | Santiago Pastorino | -12/+12 | |
| 2020-03-31 | update tests | Bastian Kauschke | -2/+1 | |
| 2020-02-02 | Point at `Sized` requirements | Esteban Küber | -0/+3 | |
| Make #47990 easier to understand | ||||
| 2019-07-27 | tests: Move run-pass tests with naming conflicts to ui | Vadim Petrochenkov | -0/+63 | |
| 2019-07-27 | tests: Move run-pass tests without naming conflicts to ui | Vadim Petrochenkov | -0/+111 | |
| 2019-07-03 | Migrate compile-pass annotations to build-pass | Yuki Okushi | -1/+1 | |
| 2019-06-03 | Update tests for changes to cannot move errors | Matthew Jasper | -1/+4 | |
| 2019-04-22 | update tests for migrate mode by default | Matthew Jasper | -172/+43 | |
| 2019-04-17 | add a test for unsized index | Aleksey Kladov | -0/+23 | |
| 2019-03-11 | Update NLL tests | Vadim Petrochenkov | -6/+6 | |
| 2019-03-11 | Update tests | Vadim Petrochenkov | -6/+6 | |
| 2019-02-20 | ./x.py test src/test/ui --stage 1 --bless -i --compare-mode=nll | Clint Frederickson | -4/+4 | |
| 2019-01-24 | Fix --compare-mode=nll tests | Esteban Küber | -10/+10 | |
| 2019-01-01 | Fix broken links to second edition TRPL. | Corey Farwell | -6/+6 | |
| Fixes https://github.com/rust-lang/rust/issues/57104. | ||||
| 2018-12-29 | add non-copy note to stderr | csmoe | -0/+14 | |
| 2018-11-21 | Add tests for unsized-locals functions stability. | Masaki Hara | -0/+27 | |
