rust/compiler/rustc_parse/src
Manish Goregaokar 2c7d48b900
Rollup merge of #88729 - estebank:struct-literal-using-parens, r=oli-obk
Recover from `Foo(a: 1, b: 2)`

Detect likely `struct` literal using parentheses as delimiters and emit
targeted suggestion instead of type ascription parse error.

Fix #61326.
2021-09-16 10:57:18 -07:00
..
lexer Warn when an escaped newline skips multiple lines 2021-08-11 11:35:08 +02:00
parser Rollup merge of #88729 - estebank:struct-literal-using-parens, r=oli-obk 2021-09-16 10:57:18 -07:00
lib.rs Keep a parent LocalDefId in SpanData. 2021-09-10 20:17:33 +02:00
validate_attr.rs Use if-let guards in the codebase 2021-08-25 20:24:35 +02:00