| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-08-02 | Introduce NonterminalKind | Aleksey Kladov | -2/+2 | |
| It encapsulate the (part of) the interface between the parser and macro by example (macro_rules) parser. The second bit is somewhat more general `parse_ast_fragment`, which is the reason why we keep some `parse_xxx` functions as public. | ||||
| 2020-07-14 | Handle case of incomplete local ty more gracefully | Esteban Küber | -4/+10 | |
| When encountering a local binding with a type that isn't completed, the parser will reach a `=` token. When this happen, consider the type "complete" as far as the parser is concerned to avoid further errors being emitted by parse recovery logic. | ||||
| 2020-05-21 | Adjust according to petrochenkov's review comments | mibac138 | -43/+22 | |
| 2020-05-20 | Adjust according to estebank's review comments | mibac138 | -11/+8 | |
| 2020-05-20 | Error recovery for `let` with `+=` | mibac138 | -33/+32 | |
| 2020-05-20 | Expand partial error recovery for `let` with `BinOpEq` | mibac138 | -10/+30 | |
| 2020-05-20 | Implement partial error recovery for `let` with `BinOpEq` | mibac138 | -2/+27 | |
| When parsing `let x: i8 += 1` the compiler interprets `i8` as a trait which makes it more complicated to do error recovery. More advanced error recovery is not implemented in this commit. | ||||
| 2020-05-05 | Detect errors caused by `async` block in 2015 edition | Esteban Küber | -1/+1 | |
| 2020-04-17 | Fix unused results from mem::replace | Josh Stone | -3/+3 | |
| 2020-04-03 | .unwrap() less on .span_to_snippet() | Mazdak Farrokhzad | -3/+3 | |
| 2020-03-22 | summarize if-else-code with identical blocks (clippy::if_same_then_else) | Matthias Krüger | -7/+1 | |
| 2020-03-20 | remove redundant returns (clippy::needless_return) | Matthias Krüger | -1/+1 | |
| 2020-03-18 | outline modules: parse -> expand. | Mazdak Farrokhzad | -9/+1 | |
| 2020-03-12 | ast: `Mac`/`Macro` -> `MacCall` | Vadim Petrochenkov | -4/+4 | |
| 2020-03-10 | use check_path more | Mazdak Farrokhzad | -4/+1 | |
| 2020-03-10 | error_block_no_opening_brace: handle closures better | Mazdak Farrokhzad | -9/+7 | |
| 2020-03-10 | parse_block_tail: reduce visibility | Mazdak Farrokhzad | -5/+1 | |
| 2020-03-10 | unify/improve/simplify attribute parsing | Mazdak Farrokhzad | -6/+5 | |
| 2020-03-10 | more reuse in block parsing & improve diagnostics. | Mazdak Farrokhzad | -6/+11 | |
| 2020-03-10 | use error_block_no_opening_brace more | Mazdak Farrokhzad | -1/+5 | |
| 2020-03-01 | encode `;` stmt w/o expr as `StmtKind::Empty` | Mazdak Farrokhzad | -20/+7 | |
| 2020-03-01 | Rollup merge of #69579 - petrochenkov:noprevspan, r=Centril | Yuki Okushi | -12/+12 | |
| parser: Remove `Parser::prev_span` Follow-up to https://github.com/rust-lang/rust/pull/69384. r? @Centril | ||||
| 2020-02-29 | Rename `syntax` to `rustc_ast` in source code | Vadim Petrochenkov | -6/+6 | |
| 2020-02-29 | parser: `prev_span` -> `prev_token.span` | Vadim Petrochenkov | -12/+12 | |
| 2020-02-28 | remove redundant clones, references to operands, explicit boolean ↵ | Matthias Krüger | -1/+1 | |
| comparisons and filter(x).next() calls. | ||||
| 2020-02-27 | don't use .into() to convert types into identical types. | Matthias Krüger | -1/+1 | |
| example: let s: String = format!("hello").into(); | ||||
| 2020-02-25 | parse: address nitpick | Mazdak Farrokhzad | -3/+2 | |
| 2020-02-25 | parse: move condition into guard | Mazdak Farrokhzad | -28/+28 | |
| 2020-02-24 | parse: simplify `parse_stmt_without_recovery`. | Mazdak Farrokhzad | -36/+29 | |
| 2020-02-24 | parse: extract `parse_stmt_item` & `parse_stmt_path_start`. | Mazdak Farrokhzad | -32/+33 | |
| 2020-02-24 | parse: tweak `parse_item_` for more reuse. | Mazdak Farrokhzad | -2/+2 | |
| 2020-02-17 | Auto merge of #69129 - Centril:macro-legacy-errors, r=petrochenkov | bors | -53/+9 | |
| Transition macro_legacy_warnings into a hard error Fixes https://github.com/rust-lang/rust/issues/67098. r? @petrochenkov | ||||
| 2020-02-13 | parser: misc small item related improvements & cleanups. | Mazdak Farrokhzad | -12/+6 | |
| 2020-02-13 | parser: fuse `trait` parsing & layer with `is_path_start_item` | Mazdak Farrokhzad | -15/+1 | |
| 2020-02-13 | parser: make `eat_macro_def` redundant. | Mazdak Farrokhzad | -7/+3 | |
| 2020-02-13 | macro_legacy_warnings -> error | Mazdak Farrokhzad | -53/+9 | |
| 2020-02-13 | parser_fn_front_matter: allow `const .. extern` | Mazdak Farrokhzad | -1/+1 | |
| 2020-02-10 | parser: Remove `Parser::prev_token_kind` | Vadim Petrochenkov | -2/+2 | |
| 2020-02-05 | parser: merge `fn` grammars wrt. bodies & headers | Mazdak Farrokhzad | -1/+1 | |
| also refactor `FnKind` and `visit_assoc_item` visitors | ||||
| 2020-01-30 | suggest adding space in accidental doc comments | Andy Russell | -2/+19 | |
| 2020-01-01 | Rename `syntax_pos` to `rustc_span` in source code | Vadim Petrochenkov | -2/+2 | |
| 2019-12-31 | parser::path: remove .fatal calls | Mazdak Farrokhzad | -4/+9 | |
| 2019-12-31 | parser: span_fatal -> struct_span_err | Mazdak Farrokhzad | -1/+1 | |
| 2019-12-31 | de-fatalize some errors | Mazdak Farrokhzad | -1/+2 | |
| 2019-12-23 | extract parse_not_expr | Mazdak Farrokhzad | -2/+2 | |
| 2019-12-23 | more recovery in if-parsing | Mazdak Farrokhzad | -2/+6 | |
| 2019-12-22 | Format the world | Mark Rousskov | -63/+49 | |
| 2019-12-20 | tweak var/auto/mut recovery | Mazdak Farrokhzad | -7/+7 | |
| 2019-12-20 | recover on 'mut', 'var', 'auto' | Mazdak Farrokhzad | -3/+39 | |
| 2019-12-20 | introduce 'type AttrVec' | Mazdak Farrokhzad | -8/+7 | |
