rust/compiler/rustc_parse/src/parser
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
..
attr_wrapper.rs Change more x64 size checks to not apply to x32. 2021-09-05 16:42:36 +01:00
attr.rs Provide more context on incorrect inner attribute 2021-09-02 19:08:30 +00:00
diagnostics.rs Auto merge of #87915 - estebank:fancy-spans, r=oli-obk 2021-09-13 16:31:12 +00:00
expr.rs Rollup merge of #88729 - estebank:struct-literal-using-parens, r=oli-obk 2021-09-16 10:57:18 -07:00
generics.rs Require passing an AttrWrapper to collect_tokens_trailing_token 2021-02-13 12:07:15 -05:00
item.rs Rollup merge of #88775 - pnkfelix:revert-anon-union-parsing, r=davidtwco 2021-09-15 14:56:58 -07:00
mod.rs Emit proper errors on missing closure braces 2021-09-09 17:44:40 +02:00
nonterminal.rs Use if-let guards in the codebase 2021-08-25 20:24:35 +02:00
pat.rs Use multispan suggestions more often 2021-07-30 09:26:31 -07:00
path.rs Fix handling of unmatched angle brackets in parser 2021-06-05 00:31:28 +02:00
stmt.rs Rollup merge of #88690 - m-ou-se:macro-braces-dot-question-expr-parse, r=nagisa 2021-09-15 14:56:57 -07:00
ty.rs Revert "Implement Anonymous{Struct, Union} in the AST" 2021-09-09 09:14:17 -04:00