| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-03-22 | Normalize wording of privacy access labels | Esteban Küber | -4/+4 | |
| 2020-03-22 | Add span label to primary error span | Esteban Küber | -10/+10 | |
| 2020-01-16 | resolve: Point at the private item definitions in privacy errors | Vadim Petrochenkov | -4/+28 | |
| 2019-12-30 | MatchExpressionArmPattern: Use more generic wording. | Mazdak Farrokhzad | -3/+3 | |
| 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-21 | Update tests for GATs | Matthew Jasper | -9/+2 | |
| * Make some run-pass or check-pass * Use `#![allow(incomplete_features)]` * Update FIXMEs now that some of the issues have been addressed * Add regression tests | ||||
| 2019-11-18 | Surround types with backticks in type errors | Esteban Küber | -18/+18 | |
| 2019-11-18 | Remove E0308 note when primary label has all info | Esteban Küber | -36/+0 | |
| 2019-11-18 | Specific labels when referring to "expected" and "found" types | Esteban Küber | -18/+18 | |
| 2019-11-02 | Update tests | Dmitry Kadashev | -6/+15 | |
| Update the tests to reflect changes to how type mismatch errors are reported (two previous commits). | ||||
| 2019-10-27 | Gather together usefulness tests | Nadrieril | -59/+0 | |
| I took most tests that were testing only for match exhaustiveness, pattern refutability or match arm reachability, and put them in the same test folder. | ||||
| 2019-09-28 | Implement CRs | Wojciech Baranowski | -1/+1 | |
| 2019-09-18 | Add explanation to type mismatch involving type params and assoc types | Esteban Küber | -0/+4 | |
| 2019-08-31 | Use span label instead of note for cause in E0631 | Esteban Küber | -6/+3 | |
| 2019-08-11 | Remove `is_self` and `has_self_ty` methods | Matthew Jasper | -6/+6 | |
| 2019-04-23 | Auto merge of #60172 - varkor:tidy-double-trailing-newline, r=kennytm | bors | -1/+0 | |
| Disallow double trailing newlines in tidy This wasn't done previously in https://github.com/rust-lang/rust/pull/47064#issuecomment-354533010 as it affected too many files, but I think it's best to fix it now so that the number of files with double trailing newlines doesn't keep increasing. r? kennytm | ||||
| 2019-04-22 | review comments: deduplicate tests | Esteban Küber | -54/+4 | |
| 2019-04-22 | Continue evaluating after item-type checking | Esteban Küber | -7/+22 | |
| 2019-04-22 | Remove double trailing newlines | varkor | -1/+0 | |
| 2019-04-18 | hide `--explain` hint if error has no extended info | Andy Russell | -5/+5 | |
| 2019-03-25 | Auto merge of #59240 - euclio:struct-field-span, r=oli-obk | bors | -1/+1 | |
| use the identifier span for missing struct field | ||||
| 2019-03-20 | Update tests | varkor | -12/+12 | |
| 2019-03-16 | use the identifier span for missing struct field | Andy Russell | -1/+1 | |
| 2019-03-11 | Update tests | Vadim Petrochenkov | -41/+41 | |
| 2019-03-02 | Point at enum definition when match patterns are not exhaustive | Esteban Küber | -2/+11 | |
| ``` error[E0004]: non-exhaustive patterns: type `X` is non-empty --> file.rs:9:11 | 1 | / enum X { 2 | | A, | | - variant not covered 3 | | B, | | - variant not covered 4 | | C, | | - variant not covered 5 | | } | |_- `X` defined here ... 9 | match x { | ^ | = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms error[E0004]: non-exhaustive patterns: `B` and `C` not covered --> file.rs:11:11 | 1 | / enum X { 2 | | A, 3 | | B, 4 | | C, | | - not covered 5 | | } | |_- `X` defined here ... 11 | match x { | ^ patterns `C` not covered ``` When a match expression doesn't have patterns covering every variant, point at the enum's definition span. On a best effort basis, point at the variant(s) that are missing. This does not handle the case when the missing pattern is due to a field's enum variants: ``` enum E1 { A, B, C, } enum E2 { A(E1), B, } fn foo() { match E2::A(E1::A) { E2::A(E1::B) => {} E2::B => {} } //~^ ERROR `E2::A(E1::A)` and `E2::A(E1::C)` not handled } ``` Unify look between match with no arms and match with some missing patterns. Fix #37518. | ||||
| 2019-01-14 | Rollup merge of #57477 - euclio:clarify-lev-suggestion, r=zackmdavis | Mazdak Farrokhzad | -1/+1 | |
| clarify resolve typo suggestion Include the kind of the binding that we're suggesting, and use a structured suggestion. Fixes #53445. | ||||
| 2019-01-12 | Reword label as per review comment | Esteban Küber | -3/+3 | |
| 2019-01-12 | Point at the match discriminant when arm pattern has a type mismatch | Esteban Küber | -0/+6 | |
| 2019-01-09 | clarify resolve typo suggestion | Andy Russell | -1/+1 | |
| Include the kind of the binding that we're suggesting, and use a structured suggestion. | ||||
| 2019-01-06 | tests: Do not use `-Z parse-only`, continue compilation to test recovery | Vadim Petrochenkov | -11/+9 | |
| 2019-01-02 | Auto merge of #57250 - codeworm96:tyerr_msg, r=varkor | bors | -21/+21 | |
| Improve type mismatch error messages Closes #56115. Replace "integral variable" with "integer" and replace "floating-point variable" with "floating-point number" to make the message less confusing. TODO the book and clippy needs to be changed accordingly later. r? @varkor | ||||
| 2018-12-31 | Improve type mismatch error messages | Yuning Zhang | -21/+21 | |
| Replace "integral variable" with "integer" and replace "floating-point variable" with "floating-point number" to make the message less confusing. | ||||
| 2018-12-31 | Auto merge of #57047 - euclio:field-structured-suggestions, r=estebank | bors | -6/+7 | |
| use structured suggestions for nonexistent fields r? @estebank | ||||
| 2018-12-31 | use structured suggestions for nonexistent fields | Andy Russell | -6/+7 | |
| 2018-12-26 | Added regression test for using generic parameters on modules. | Alexander Regueiro | -21/+21 | |
| 2018-12-25 | Remove licenses | Mark Rousskov | -349/+69 | |
| 2018-12-24 | make non_camel_case_types an early lint | Andy Russell | -10/+10 | |
| 2018-10-28 | resolve: More precise spans for privacy errors | Vadim Petrochenkov | -8/+8 | |
| 2018-10-11 | structured suggestion for E0223 ambiguous associated type | Zack M. Davis | -9/+3 | |
| It looks like we tend to use angle-brackets around the placeholder in the few other places we use `Applicability::HasPlaceholders`, but that would be confusing here, so ... | ||||
| 2018-08-24 | updates tests to use new error code | Matthew Russo | -4/+4 | |
| 2018-08-20 | Fix diagnostic regression | varkor | -4/+4 | |
| 2018-08-20 | Update new ui tests | varkor | -2/+2 | |
| 2018-08-14 | Merged migrated compile-fail tests and ui tests. Fixes #46841. | David Wood | -0/+1388 | |
