| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2019-12-20 | tweak var/auto/mut recovery | Mazdak Farrokhzad | -7/+7 | |
| 2019-12-20 | use .span_suggestion_short for && | Mazdak Farrokhzad | -2/+2 | |
| 2019-12-20 | fix bug in parse_tuple_parens_expr + related refactoring | Mazdak Farrokhzad | -68/+49 | |
| 2019-12-20 | recover `#[attr] if expr {}` | Mazdak Farrokhzad | -8/+9 | |
| 2019-12-20 | recover on 'mut', 'var', 'auto' | Mazdak Farrokhzad | -3/+39 | |
| 2019-12-20 | introduce 'type AttrVec' | Mazdak Farrokhzad | -107/+86 | |
| 2019-12-20 | simplify parse_bottom_expr more | Mazdak Farrokhzad | -78/+76 | |
| 2019-12-20 | use mk_expr_err more | Mazdak Farrokhzad | -1/+1 | |
| 2019-12-20 | extract parse_lit_expr and simplify | Mazdak Farrokhzad | -79/+64 | |
| 2019-12-20 | extract parse_break_expr | Mazdak Farrokhzad | -10/+16 | |
| 2019-12-20 | refactor parse_incorrect_await_syntax | Mazdak Farrokhzad | -14/+24 | |
| 2019-12-20 | extract parse_{expr_opt, return_expr, yield_expr} | Mazdak Farrokhzad | -31/+34 | |
| 2019-12-20 | recover on 'do catch { .. }' | Mazdak Farrokhzad | -16/+28 | |
| 2019-12-20 | pass attr as param in new methods | Mazdak Farrokhzad | -10/+11 | |
| 2019-12-20 | add recovery to parse_labeled_expr | Mazdak Farrokhzad | -3/+5 | |
| 2019-12-20 | extract parse_labeled_expr | Mazdak Farrokhzad | -25/+29 | |
| 2019-12-20 | extract parse_path_start_expr | Mazdak Farrokhzad | -27/+30 | |
| 2019-12-20 | extract parse_array_or_repeat_expr | Mazdak Farrokhzad | -41/+43 | |
| 2019-12-20 | extract parse_tuple_parens_expr | Mazdak Farrokhzad | -34/+31 | |
| 2019-12-20 | Clean up `parse_bottom_expr` | A C | -60/+39 | |
| 2019-12-20 | parse_bottom_expr: use else if | Mazdak Farrokhzad | -14/+13 | |
| 2019-12-20 | implement recovery in check_assoc_op | Mazdak Farrokhzad | -38/+28 | |
| 2019-12-20 | extract should_continue_as_assoc_expr | Mazdak Farrokhzad | -45/+55 | |
| 2019-12-20 | extract: error_block_no_opening_brace | Mazdak Farrokhzad | -59/+65 | |
| 2019-12-20 | parser: extract error_outer_attrs | Mazdak Farrokhzad | -14/+14 | |
| 2019-12-20 | parse_stmt_without_recovery: readability! | Mazdak Farrokhzad | -54/+54 | |
| 2019-12-20 | parse_stmt_mac: add a comment | Mazdak Farrokhzad | -0/+1 | |
| 2019-12-20 | parser: early return for item stmt | Mazdak Farrokhzad | -40/+39 | |
| 2019-12-20 | inline parse_stmt_ into parse_stmt | Mazdak Farrokhzad | -6/+2 | |
| 2019-12-20 | extract parse_sttmt_mac | Mazdak Farrokhzad | -63/+73 | |
| 2019-12-20 | reduce repetition in stmt parsing | Mazdak Farrokhzad | -56/+37 | |
| 2019-12-20 | 1. ast::Mutability::{Mutable -> Mut, Immutable -> Not}. | Mazdak Farrokhzad | -24/+24 | |
| 2. mir::Mutability -> ast::Mutability. | ||||
| 2019-12-20 | Rollup merge of #67131 - Centril:item-merge, r=petrochenkov | Mazdak Farrokhzad | -214/+115 | |
| Merge `TraitItem` & `ImplItem into `AssocItem` In this PR we: - Merge `{Trait,Impl}Item{Kind?}` into `AssocItem{Kind?}` as discussed in https://github.com/rust-lang/rust/issues/65041#issuecomment-538105286. - This is done by using the cover grammar of both forms. - In particular, it requires that we syntactically allow (under `#[cfg(FALSE)]`): - `default`ness on `trait` items, - `impl` items without a body / definition (`const`, `type`, and `fn`), - and associated `type`s in `impl`s with bounds, e.g., `type Foo: Ord;`. - The syntactic restrictions are replaced by semantic ones in `ast_validation`. - Move syntactic restrictions around C-variadic parameters from the parser into `ast_validation`: - `fn`s in all contexts now syntactically allow `...`, - `...` can occur anywhere in the list syntactically (`fn foo(..., x: usize) {}`), - and `...` can be the sole parameter (`fn foo(...) {}`. r? @petrochenkov | ||||
| 2019-12-13 | parser: recover on `&'lifetime mut $pat`. | Mazdak Farrokhzad | -6/+16 | |
| 2019-12-12 | De-fatalize `...` parsing. | Mazdak Farrokhzad | -7/+9 | |
| Also fix error the code description. | ||||
| 2019-12-12 | `AssocImplKind::{Method -> Fn}`. | Mazdak Farrokhzad | -1/+1 | |
| 2019-12-12 | More c-variadic errors as semantic restrictions. | Mazdak Farrokhzad | -45/+10 | |
| 2019-12-12 | Move `allow_c_varadic` logic to `ast_validation`. | Mazdak Farrokhzad | -17/+4 | |
| 2019-12-12 | Unify associated item parsing more. | Mazdak Farrokhzad | -29/+20 | |
| 2019-12-12 | parse: refactor fun ret ty & param ty | Mazdak Farrokhzad | -13/+27 | |
| 2019-12-12 | Leave a FIXME re. `allow_plus`. | Mazdak Farrokhzad | -4/+5 | |
| 2019-12-12 | Relocate `is_const_item`. | Mazdak Farrokhzad | -7/+7 | |
| 2019-12-12 | Unify associated item parsing. | Mazdak Farrokhzad | -50/+20 | |
| An exception is `fn` params. | ||||
| 2019-12-12 | Unify associated function parsing. | Mazdak Farrokhzad | -42/+23 | |
| 2019-12-12 | Fuse associated type parsing. | Mazdak Farrokhzad | -29/+4 | |
| 2019-12-12 | Fuse associated constant parsing. | Mazdak Farrokhzad | -20/+8 | |
| 2019-12-12 | Unify `{Trait,Impl}ItemKind::TyAlias` structures. | Mazdak Farrokhzad | -3/+27 | |
| 2019-12-12 | `TraitItemKind::Type` -> `TraitItemKind::TyAlias`. | Mazdak Farrokhzad | -1/+1 | |
| 2019-12-12 | Use `Option` in `ImplItemKind::Method`. | Mazdak Farrokhzad | -7/+5 | |
| 2019-12-12 | Use `Option` in `ImplItemKind::Const`. | Mazdak Farrokhzad | -7/+10 | |
