rust/src/test/ui/type
Dylan DPC 8e51bd4315
Rollup merge of #81235 - reese:rw-tuple-diagnostics, r=estebank
Improve suggestion for tuple struct pattern matching errors.

Closes #80174

This change allows numbers to be parsed as field names when pattern matching on structs, which allows us to provide better error messages when tuple structs are matched using a struct pattern.

r? ``@estebank``
2021-02-23 02:51:44 +01:00
..
ascription Force vec! to expressions only 2021-01-17 12:48:25 +01:00
auxiliary
type-check Fix suggestion span and move suggestions into new subwindow. 2021-02-20 15:33:08 -05:00
issue-67690-type-alias-bound-diagnostic-crash.rs
issue-67690-type-alias-bound-diagnostic-crash.stderr
type-alias-bounds.rs
type-alias-bounds.stderr
type-annotation-needed.rs
type-annotation-needed.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
type-arg-out-of-scope.rs
type-arg-out-of-scope.stderr
type-ascription-instead-of-initializer.rs
type-ascription-instead-of-initializer.stderr Rework diagnostics for wrong number of generic args 2021-01-10 13:07:40 +01:00
type-ascription-instead-of-statement-end.rs
type-ascription-instead-of-statement-end.stderr
type-ascription-precedence.rs
type-ascription-precedence.stderr
type-ascription-soundness.rs
type-ascription-soundness.stderr
type-ascription-with-fn-call.fixed Reduce verbosity of some type ascription errors 2020-07-31 11:29:15 -07:00
type-ascription-with-fn-call.rs Reduce verbosity of some type ascription errors 2020-07-31 11:29:15 -07:00
type-ascription-with-fn-call.stderr Tweak ordering of suggestions 2020-08-10 12:04:10 -07:00
type-check-defaults.rs pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
type-check-defaults.stderr fix syntax error in suggesting generic constraint in trait parameter 2020-09-13 21:24:34 -07:00
type-dependent-def-issue-49241.rs
type-dependent-def-issue-49241.stderr Use correct span for structured suggestion 2021-01-07 16:52:44 -08:00
type-error-break-tail.rs
type-error-break-tail.stderr
type-mismatch-multiple.rs
type-mismatch-multiple.stderr
type-mismatch-same-crate-name.rs pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
type-mismatch-same-crate-name.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
type-mismatch.rs
type-mismatch.stderr
type-parameter-defaults-referencing-Self-ppaux.rs
type-parameter-defaults-referencing-Self-ppaux.stderr review comments 2020-10-20 09:26:15 -07:00
type-parameter-defaults-referencing-Self.rs
type-parameter-defaults-referencing-Self.stderr
type-parameter-names.rs
type-parameter-names.stderr
type-params-in-different-spaces-1.rs
type-params-in-different-spaces-1.stderr
type-params-in-different-spaces-2.rs
type-params-in-different-spaces-2.stderr
type-params-in-different-spaces-3.rs
type-params-in-different-spaces-3.stderr
type-path-err-node-types.rs Clarify message about unresolved use 2020-09-01 18:38:14 +01:00
type-path-err-node-types.stderr Clarify message about unresolved use 2020-09-01 18:38:14 +01:00
type-recursive.rs
type-recursive.stderr
type-shadow.rs
type-shadow.stderr