rust/compiler/rustc_parse/src/parser
bors 6a758ea7e4 Auto merge of #85193 - pnkfelix:readd-support-for-inner-attrs-within-match, r=nikomatsakis
Re-add support for parsing (and pretty-printing) inner-attributes in match body

Re-add support for parsing (and pretty-printing) inner-attributes within body of a `match`.

In other words, we can do `match EXPR { #![inner_attr] ARM_1 ARM_2 ... }` again.

I believe this unbreaks the only four crates that crater flagged as broken by PR #83312.

(I am putting this up so that the lang-team can check it out and decide whether it changes their mind about what to do regarding PR #83312.)
2021-06-22 21:17:12 +00:00
..
attr_wrapper.rs parser: Ensure that all nonterminals have tokens after parsing 2021-06-06 14:21:12 +03:00
attr.rs Add support for using qualified paths with structs in expression and pattern 2021-06-10 13:18:41 +02:00
diagnostics.rs Add support for using qualified paths with structs in expression and pattern 2021-06-10 13:18:41 +02:00
expr.rs Auto merge of #85193 - pnkfelix:readd-support-for-inner-attrs-within-match, r=nikomatsakis 2021-06-22 21:17:12 +00:00
generics.rs Require passing an AttrWrapper to collect_tokens_trailing_token 2021-02-13 12:07:15 -05:00
item.rs Use AttrVec for Arm, FieldDef, and Variant 2021-06-17 08:04:54 +09:00
mod.rs parser: Ensure that all nonterminals have tokens after parsing 2021-06-06 14:21:12 +03:00
nonterminal.rs parser: Ensure that all nonterminals have tokens after parsing 2021-06-06 14:21:12 +03:00
pat.rs Add support for using qualified paths with structs in expression and pattern 2021-06-10 13:18:41 +02:00
path.rs Fix handling of unmatched angle brackets in parser 2021-06-05 00:31:28 +02:00
stmt.rs Add support for using qualified paths with structs in expression and pattern 2021-06-10 13:18:41 +02:00
ty.rs Remove incorrect assertion in type parsing code 2021-06-04 22:17:04 +02:00