rust/compiler/rustc_parse/src
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
..
lexer Handle Spans for byte and raw strings and add more detail 2021-02-03 13:34:28 -08:00
parser Rollup merge of #81235 - reese:rw-tuple-diagnostics, r=estebank 2021-02-23 02:51:44 +01:00
lib.rs Box the biggest ast::ItemKind variants 2021-02-01 09:23:39 +01:00
validate_attr.rs ast: Remove some indirection layers from values in key-value attributes 2021-01-09 21:50:39 +03:00