| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-01-11 | Move /src/test to /tests | Albert Larsan | -1023/+0 | |
| 2022-12-15 | Trim paths in E0599 | Esteban Küber | -4/+4 | |
| 2022-11-21 | Unreserve braced enum variants in value namespace | Vadim Petrochenkov | -93/+28 | |
| 2022-11-14 | Show a note where a macro failed to match | Nilstrieb | -0/+6 | |
| This shows a small note on what the macro matcher was currently processing to aid with "no rules expected the token X" errors. | ||||
| 2022-10-05 | Delay function resolution error until typeck | Michael Goulet | -23/+23 | |
| 2022-10-01 | bless ui tests | Maybe Waffle | -1/+1 | |
| 2022-09-15 | Remove feature gate from let else suggestion | est31 | -1/+1 | |
| The let else suggestion added by 0d92752b8aac53e033541d04fc7d9677d8bca227 does not need a feature gate any more. | ||||
| 2022-09-03 | Include enum path in variant suggestion | Michael Goulet | -3/+3 | |
| 2022-07-16 | Be more precise when suggesting removal of parens on unit adt ctor | Michael Goulet | -8/+20 | |
| 2022-07-08 | Update ui test for the new E0530 suggestion | Obei Sideg | -2/+8 | |
| 2022-07-06 | use `named_span` in case of tuple variant | Takayuki Maeda | -5/+5 | |
| 2022-07-01 | Shorten def_span for more items. | Camille GILLOT | -15/+15 | |
| 2022-06-16 | diagnostics: fix trailing space | klensy | -2/+2 | |
| 2022-05-15 | rustc: Stricter checking for #[link] attributes | Vadim Petrochenkov | -4/+4 | |
| 2022-03-28 | Remove duplicated and unused test files | Caio | -0/+36 | |
| 2022-03-08 | Suggest `if let`/`let_else` for refutable pat in `let` | Esteban Kuber | -1/+5 | |
| 2022-03-08 | Rollup merge of #94580 - xFrednet:55112-only-reason-in-lint-attr, r=lcnr | Matthias Krüger | -9/+20 | |
| Emit `unused_attributes` if a level attr only has a reason Fixes a comment from `compiler/rustc_lint/src/levels.rs`. Lint level attributes that only contain a reason will also trigger the `unused_attribute` lint. The lint now also checks for the `expect` lint level. That's it, have a great rest of the day for everyone reasoning this :upside_down_face: cc: #55112 | ||||
| 2022-03-08 | Point at uncovered variants in enum definition in `note` instead of a ↵ | Esteban Kuber | -10/+9 | |
| `span_label` This makes the order of the output always consistent: 1. Place of the `match` missing arms 2. The `enum` definition span 3. The structured suggestion to add a fallthrough arm | ||||
| 2022-03-03 | Emit `unused_attributes` if a level attr only has a reason | xFrednet | -9/+20 | |
| 2021-11-22 | Auto merge of #88681 - ehuss:duplicate-attributes, r=petrochenkov | bors | -0/+77 | |
| Check for duplicate attributes. This adds some checks for duplicate attributes. In many cases, the duplicates were being ignored without error or warning. This adds several kinds of checks (see `AttributeDuplicates` enum). The motivation here is to issue unused warnings with similar reasoning for any unused lint, and to error for cases where there are conflicts. This also adds a check for empty attribute lists in a few attributes where this causes the attribute to be ignored. Closes #55112. | ||||
| 2021-11-18 | Add checks for more empty attributes. | Eric Huss | -0/+77 | |
| 2021-11-16 | Suggest removal of arguments for unit variant, not replacement | Esteban Kuber | -4/+6 | |
| 2021-10-17 | Rollup merge of #89963 - r00ster91:parenthesisparentheses, r=nagisa | Matthias Krüger | -2/+2 | |
| Some "parenthesis" and "parentheses" fixes "Parenthesis" is the singular (e.g. one `(` or one `)`) and "parentheses" is the plural (multiple `(` or `)`s) and this is not hard to mix up so here are some fixes for that. Inspired by #89958 | ||||
| 2021-10-17 | Some "parenthesis" and "parentheses" fixes | r00ster91 | -2/+2 | |
| 2021-10-15 | Bless tests | Cameron Steffen | -1/+1 | |
| 2021-08-11 | Modify structured suggestion output | Esteban Küber | -38/+38 | |
| * On suggestions that include deletions, use a diff inspired output format * When suggesting addition, use `+` as underline * Color highlight modified span | ||||
| 2021-08-04 | Remove trailing whitespace from error messages | Fabian Wolff | -18/+18 | |
| 2021-05-02 | add suggestion for unit enum variant when matched with a patern | Aliénore Bouttefeux | -16/+86 | |
| 2021-01-13 | Update tests for extern block linting | Mark Rousskov | -2/+1 | |
| 2020-09-30 | Re-run tests with --bless | Temirkhan Myrzamadi | -0/+3 | |
| 2020-08-11 | Detect tuple variants used as struct pattern and suggest correct pattern | Esteban Küber | -5/+11 | |
| 2020-08-10 | Point at item definition in foreign crates | Esteban Küber | -7/+27 | |
| 2020-08-10 | Tweak ordering of suggestions | Esteban Küber | -36/+76 | |
| Modify logic to make it easier to follow and recover labels that would otherwise be lost. | ||||
| 2020-07-14 | Suggest struct pat on incorrect unit or tuple pat | Esteban Küber | -82/+108 | |
| When encountering a unit or tuple pattern for a struct-like item, suggest using the correct pattern. Use `insert_field_names_local` when evaluating variants and store field names even when the list is empty in order to produce accurate structured suggestions. | ||||
| 2020-03-27 | non-exhastive diagnostic: add note re. scrutinee type | Mazdak Farrokhzad | -0/+1 | |
| 2020-02-01 | Update existing tests for or-patterns | Matthew Jasper | -10/+2 | |
| 2020-01-11 | Auto merge of #65912 - estebank:variants-orig, r=petrochenkov | bors | -0/+90 | |
| Point at the span for the definition of crate foreign ADTs Follow up to #65421. Partially addresses #65386. Blocked on #53081. | ||||
| 2020-01-10 | Point at the span for the definition of crate foreign ADTs | Esteban Küber | -0/+90 | |
| 2020-01-08 | Unify output of "variant not found" errors | Esteban Küber | -6/+6 | |
| 2019-12-14 | Revert "Remove `#![feature(never_type)]` from tests." | Niko Matsakis | -2/+4 | |
| This reverts commit 8f6197f39f7d468dfc5b2bd41dae4769992a2f83. | ||||
| 2019-11-21 | Remove `#![feature(never_type)]` from tests. | Mazdak Farrokhzad | -4/+2 | |
| Also remove `never_type` the feature-gate test. | ||||
| 2019-10-27 | Point at local similarly named element and tweak references to variants | Esteban Küber | -61/+69 | |
| Point at the span for the definition of ADTs internal to the current crate. Look at the leading char of the ident to determine whether we're expecting a likely fn or any of a fn, a tuple struct or a tuple variant. Turn fn `add_typo_suggestion` into a `Resolver` method. | ||||
| 2019-10-24 | Increase spacing for suggestions in diagnostics | Esteban Küber | -0/+2 | |
| Make the spacing between the code snippet and verbose structured suggestions consistent with note and help messages. | ||||
| 2019-10-09 | Suggest `if let` on `let` refutable binding | Esteban Küber | -0/+7 | |
| 2019-09-22 | Point at definition when misusing ADT | Esteban Küber | -2/+32 | |
| When given `struct Foo(usize)` and using it as `Foo {}` or `Foo`, point at `Foo`'s definition in the error. | ||||
| 2019-09-21 | unify errors for tuple/struct variants | Guanqun Lu | -3/+4 | |
| fix #63983 | ||||
| 2019-09-15 | resolve: Remove `!` from "cannot find" diagnostics for macros | Vadim Petrochenkov | -1/+1 | |
| 2019-09-09 | check_match: unify check_irrefutable & check_exhaustive more. | Mazdak Farrokhzad | -0/+1 | |
| 2019-09-06 | Fixed grammar/style in error messages and reblessed tests. | Alexander Regueiro | -3/+3 | |
| 2019-08-05 | Make use of possibly uninitialized data a hard error | Tyler Mandry | -32/+3 | |
| This is one of the behaviors we no longer allow in NLL. Since it can lead to undefined behavior, I think it's definitely worth making it a hard error without waiting to turn off migration mode (#58781). Closes #60450. My ulterior motive here is making it impossible to leave variables partially initialized across a yield (see discussion at #63035), so tests are included for that. | ||||
