| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-01-20 | check_match: simplify check_arm | Mazdak Farrokhzad | -1/+3 | |
| 2020-01-20 | check_match: unify some lowering code and fix some ICEs | Mazdak Farrokhzad | -0/+77 | |
| 2020-01-18 | slice_patterns: organize some tests | Mazdak Farrokhzad | -1/+1 | |
| 2020-01-18 | slice_patterns: remove gates in tests | Mazdak Farrokhzad | -194/+172 | |
| 2020-01-12 | Diagnostics should not end with a full stop | varkor | -1/+1 | |
| 2020-01-12 | Split `rustc_mir::{build, hair, lints}` into their own crate | Matthew Jasper | -1/+1 | |
| 2020-01-09 | Update tests | Vadim Petrochenkov | -16/+63 | |
| 2020-01-08 | - remove syntax::{span_warn!, span_err!, span_fatal!. struct_err!} | Mazdak Farrokhzad | -0/+2 | |
| - remove syntax::{help!, span_help!, span_note!} - remove unused syntax::{struct_span_fatal, struct_span_err_or_warn!, span_err_or_warn!} - lintify check_for_bindings_named_same_as_variants + conflicting_repr_hints - inline syntax::{struct_span_warn!, diagnostic_used!} - stringify_error_code! -> error_code! & use it more. - find_plugin_registrar: de-fatalize an error - de-fatalize metadata errors - move type_error_struct! to rustc_typeck - struct_span_err! -> rustc_errors | ||||
| 2020-01-02 | Reformulate test description | LeSeulArtichaut | -1/+1 | |
| Co-authored-by: Centril <twingoow@gmail.com> | ||||
| 2020-01-02 | Enhance test | LeSeulArtichaut | -14/+35 | |
| Co-authored-by: Centril <twingoow@gmail.com> | ||||
| 2020-01-02 | Move test | LeSeulArtichaut | -0/+57 | |
| Co-authored-by: Centril <twingoow@gmail.com> | ||||
| 2019-12-30 | Blame user type in pat type error. | Mazdak Farrokhzad | -0/+84 | |
| 2019-12-30 | refactor and fix this-expression-has-type note | Mazdak Farrokhzad | -2/+2 | |
| 2019-12-30 | Show scrutinee expr type for struct fields. | Mazdak Farrokhzad | -0/+23 | |
| TODO: The type is wrong and will be fixed in later commits. | ||||
| 2019-12-30 | MatchExpressionArmPattern: Use more generic wording. | Mazdak Farrokhzad | -2/+2 | |
| The existing wording was inappropriate for e.g. `if let Ok(_) = expr { .. }`. The diagnostic would leak the fact that we desugar to a `match`. | ||||
| 2019-12-24 | Rollup merge of #67543 - JohnTitor:regression-tests, r=Centril | Mazdak Farrokhzad | -0/+22 | |
| Add regression tests for fixed ICEs Closes #61747 (fixed from 1.41.0-nightly (4007d4ef2 2019-12-01)) Closes #66205 (fixed from 1.41.0-nightly (4007d4ef2 2019-12-01)) Closes #66270 (fixed by #66246) Closes #67424 (fixed by #67160) Also picking a minor nit up from #67071 with 101dd7bad9432730fa2f625ae43afcc2929457d4 r? @Centril | ||||
| 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 | -38/+1118 | |
| Under the gate, `x @ Some(y)` is allowed. This is subject to various restrictions for soundness. | ||||
| 2019-12-23 | Add test for issue-66270 | Yuki Okushi | -0/+22 | |
| 2019-12-19 | Rollup merge of #67189 - LeSeulArtichaut:binop-wording, r=estebank | Mazdak Farrokhzad | -2/+2 | |
| Unify binop wording Closes #60497 r? @estebank | ||||
| 2019-12-14 | Revert "Remove `#![feature(never_type)]` from tests." | Niko Matsakis | -1/+2 | |
| This reverts commit 8f6197f39f7d468dfc5b2bd41dae4769992a2f83. | ||||
| 2019-12-12 | Update tests | LeSeulArtichaut | -1/+1 | |
| 2019-12-12 | Update UI test expectations | LeSeulArtichaut | -1/+1 | |
| 2019-12-11 | Revert a diagnostic change in the case of integer ranges | Nadrieril | -8/+8 | |
| 2019-12-04 | Reuse `adt_defined_here` | Nadrieril | -10/+43 | |
| 2019-12-04 | Use the default code path to list missing patterns | Nadrieril | -48/+60 | |
| This uses the exact same code path that would be used for `match x { _ if false => {} }`, since in both cases the resulting matrix is empty. Since we think the behaviour in that case is ok, then we can remove the special case and use the default code path. | ||||
| 2019-12-04 | List missing constructors in an almost empty match | Nadrieril | -71/+101 | |
| Actually empty matches are still handled by a different code path | ||||
| 2019-12-04 | Add tests | Nadrieril | -65/+312 | |
| 2019-12-04 | Only warn about missing patterns in the case of an enum | Nadrieril | -80/+26 | |
| 2019-12-04 | Add tests | Nadrieril | -16/+104 | |
| 2019-12-04 | Make empty match lint more consistent under exhaustive_patterns | Nadrieril | -25/+58 | |
| 2019-12-04 | Fix erroneous comment | Nadrieril | -8/+7 | |
| 2019-12-04 | Tweak error on empty match | Nadrieril | -2/+2 | |
| 2019-12-04 | Add tests | Nadrieril | -0/+229 | |
| 2019-12-02 | Remove top-level or-pattern hack | Nadrieril | -12/+5 | |
| 2019-12-02 | Correct error on partially unreachable or-pat in `if let` | Nadrieril | -15/+12 | |
| 2019-12-02 | Add some tests | Nadrieril | -0/+134 | |
| 2019-11-28 | Auto merge of #66603 - Nadrieril:fix-65413, r=varkor | bors | -7/+81 | |
| Fix #65413 #65413 was due to an oversight in `pat_constructor` that didn't check if a particular const value was maybe a slice/array const. | ||||
| 2019-11-21 | Auto merge of #66389 - estebank:type-err-labels, r=petrochenkov | bors | -25/+17 | |
| Specific labels when referring to "expected" and "found" types | ||||
| 2019-11-21 | Remove `#![feature(never_type)]` from tests. | Mazdak Farrokhzad | -2/+1 | |
| Also remove `never_type` the feature-gate test. | ||||
| 2019-11-21 | Use appropriate constructor for const slices | Nadrieril | -23/+9 | |
