rust/compiler/rustc_parse/src/parser
Esteban Küber ff61949860 Tweak invalid fn header and body parsing
* Recover empty `fn` bodies when encountering `}`
* Recover trailing `>` in return types
* Recover from non-type in array type `[<BAD TOKEN>; LEN]`
2020-10-25 18:34:14 -07:00
..
attr.rs Rewrite collect_tokens implementations to use a flattened buffer 2020-10-19 13:59:18 -04:00
diagnostics.rs Rely on regular "expected"/"found" parser error for fn 2020-10-25 12:13:27 -07:00
expr.rs Make inline const work for half open ranges 2020-10-22 13:22:12 -03:00
generics.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
item.rs Tweak invalid fn header and body parsing 2020-10-25 18:34:14 -07:00
mod.rs Make inline const work for half open ranges 2020-10-22 13:22:12 -03:00
nonterminal.rs Attach tokens to ast::Stmt 2020-09-10 17:33:06 -04:00
pat.rs Make inline const work for half open ranges 2020-10-22 13:22:12 -03:00
path.rs Attach TokenStream to ast::Path 2020-09-10 17:33:06 -04:00
stmt.rs Detect blocks that could be struct expr bodies 2020-10-07 13:40:52 -07:00
ty.rs Tweak invalid fn header and body parsing 2020-10-25 18:34:14 -07:00