rust/compiler/rustc_parse/src/parser
Jonas Schievink a732c3a369
Rollup merge of #78853 - calebcartwright:fix-const-block-expr-span, r=spastorino
rustc_parse: fix ConstBlock expr span

The span for a ConstBlock expression should presumably run through the end of the block it contains and not stop at the keyword, just like is done with similar block-containing expression kinds, such as a TryBlock
2020-11-28 15:58:15 +01:00
..
attr.rs rustc_parse: restore pub vis on parse_attribute 2020-11-26 12:54:09 -06:00
diagnostics.rs Permit standalone generic parameters as const generic arguments in macros 2020-11-18 13:16:35 +00:00
expr.rs Add underscore expressions for destructuring assignments 2020-11-14 13:53:12 +00:00
generics.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
item.rs Use reparsed TokenStream if we captured any inner attributes 2020-11-02 13:22:03 -05:00
mod.rs Rollup merge of #78853 - calebcartwright:fix-const-block-expr-span, r=spastorino 2020-11-28 15:58:15 +01:00
nonterminal.rs Properly handle attributes on statements 2020-11-26 17:08:35 -05:00
pat.rs rustc_ast: visit_mac -> visit_mac_call 2020-11-03 23:39:51 +03:00
path.rs Auto merge of #79266 - b-naber:gat_trait_path_parser, r=petrochenkov 2020-11-27 00:18:24 +00:00
stmt.rs Only eat semicolons for statements that need them 2020-11-26 17:08:35 -05:00
ty.rs Tweak invalid fn header and body parsing 2020-10-25 18:34:14 -07:00