about summary refs log tree commit diff
path: root/src/test/ui/empty/empty-struct-braces-pat-2.stderr
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-95/+0
2022-07-01Shorten def_span for more items.Camille GILLOT-4/+4
2021-08-11Modify structured suggestion outputEsteban Küber-8/+8
* On suggestions that include deletions, use a diff inspired output format * When suggesting addition, use `+` as underline * Color highlight modified span
2021-08-04Remove trailing whitespace from error messagesFabian Wolff-4/+4
2020-08-10Point at item definition in foreign cratesEsteban Küber-2/+8
2020-08-10Tweak ordering of suggestionsEsteban Küber-12/+32
Modify logic to make it easier to follow and recover labels that would otherwise be lost.
2020-07-14Suggest struct pat on incorrect unit or tuple patEsteban Küber-34/+38
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-01-10Point at the span for the definition of crate foreign ADTsEsteban Küber-0/+20
2019-10-27Point at local similarly named element and tweak references to variantsEsteban Küber-4/+4
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-09-22Point at definition when misusing ADTEsteban Küber-0/+6
When given `struct Foo(usize)` and using it as `Foo {}` or `Foo`, point at `Foo`'s definition in the error.
2019-03-11Update testsVadim Petrochenkov-4/+4
2019-01-09clarify resolve typo suggestionAndy Russell-4/+4
Include the kind of the binding that we're suggesting, and use a structured suggestion.
2018-12-25Remove licensesMark Rousskov-4/+4
2018-08-14Merged migrated compile-fail tests and ui tests. Fixes #46841.David Wood-0/+39