| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2019-10-30 | Reduce ammount of errors given unclosed delimiter | Esteban Küber | -7/+10 | |
| When in a file with a non-terminated item, catch the error and consume the block instead of trying to recover it more granularly in order to reduce the amount of unrelated errors that would be fixed after adding the missing closing brace. Also point out the possible location of the missing closing brace. | ||||
| 2019-10-28 | Use heuristics to recover parsing of missing `;` | Esteban Küber | -12/+12 | |
| - Detect `,` and `:` typos where `;` was intended. - When the next token could have been the start of a new statement, detect a missing semicolon. | ||||
| 2019-10-25 | Rollup merge of #65790 - Centril:move-report-invalid, r=davidtwco | Mazdak Farrokhzad | -0/+20 | |
| move report_invalid_macro_expansion_item to item.rs From https://github.com/rust-lang/rust/pull/65324. r? @Mark-Simulacrum | ||||
| 2019-10-25 | move report_invalid_macro_expansion_item to item.rs | Mazdak Farrokhzad | -0/+20 | |
| 2019-10-24 | pre-expansion gate decl_macro | Mazdak Farrokhzad | -0/+5 | |
| 2019-10-24 | pre-expansion gate trait_alias. | Mazdak Farrokhzad | -0/+2 | |
| 2019-10-24 | syntax: reject `trait Foo: Bar = Baz;`. | Mazdak Farrokhzad | -8/+20 | |
| Add test for rejecting `trait A: B1 = B2;`. Also test rejection of `trait A: = B;`. | ||||
| 2019-10-22 | refactor maybe_append | yjhmelody | -2/+8 | |
| 2019-10-16 | move syntax::ext to new crate syntax_expand | Mazdak Farrokhzad | -3/+3 | |
| 2019-10-16 | syntax::parse: don't depend on syntax::ext | Mazdak Farrokhzad | -2/+1 | |
| 2019-10-16 | syntax: reduce visibilities | Mazdak Farrokhzad | -3/+3 | |
| 2019-10-16 | move diagnostics.rs into parser/ | Mazdak Farrokhzad | -1/+2 | |
| 2019-10-13 | syntax: consolidate function parsing in `item.rs` | Mazdak Farrokhzad | -205/+485 | |
| 2019-10-07 | syntax: refactor with new `fn parse_use_tree_glob_or_nested`. | Mazdak Farrokhzad | -10/+11 | |
| 2019-10-07 | syntax: unify and simplify fn signature parsing. | Mazdak Farrokhzad | -26/+29 | |
| 2019-10-07 | syntax: unify trait parsing a bit. | Mazdak Farrokhzad | -17/+12 | |
| 2019-10-07 | syntax: further item parsing cleanup | Mazdak Farrokhzad | -24/+35 | |
| 2019-10-07 | syntax: de-dups in item parsing. | Mazdak Farrokhzad | -50/+44 | |
| 2019-10-07 | syntax: cleanup associated const parsing. | Mazdak Farrokhzad | -32/+39 | |
| 2019-10-02 | Add missing 'bump' | Aaron Hill | -0/+1 | |
| 2019-10-02 | Add support for 'extern const fn' | Aaron Hill | -19/+33 | |
| This works just as you might expect - an 'extern const fn' is a 'const fn' that is callable from foreign code. Currently, panicking is not allowed in consts. When RFC 2345 is stabilized, then panicking in an 'extern const fn' will produce a compile-time error when invoked at compile time, and an abort when invoked at runtime. Since this is extending the language (we're allowing the `const` keyword in a new context), I believe that this will need an FCP. However, it's a very minor change, so I didn't think that filing an RFC was necessary. This will allow libc (and other FFI crates) to make many functions `const`, without having to give up on making them `extern` as well. | ||||
| 2019-10-01 | syntax: reformat passing of `FnHeader` to `parse_item_fn`. | Mazdak Farrokhzad | -12/+16 | |
| 2019-09-30 | syntax: reduce repetition in fn parsing. | Mazdak Farrokhzad | -26/+21 | |
| 2019-09-30 | syntax: stylistic cleanup in item parsing. | Mazdak Farrokhzad | -107/+47 | |
| 2019-09-30 | syntax: fuse more code paths together. | Mazdak Farrokhzad | -48/+51 | |
| 2019-09-30 | syntax: cleanup `parse_fn_decl`. | Mazdak Farrokhzad | -6/+3 | |
| 2019-09-30 | syntax: cleanup method parsing. | Mazdak Farrokhzad | -73/+65 | |
| 2019-09-29 | Rollup merge of #64894 - Centril:fix-64682, r=petrochenkov | Mazdak Farrokhzad | -26/+18 | |
| syntax: fix dropping of attribute on first param of non-method assocated fn Fixes #64682. The general idea is that we bake parsing of `self` into `parse_param_general` and then we just use standard list parsing. Overall, this simplifies the parsing and makes it more consistent. r? @petrochenkov cc @c410-f3r | ||||
| 2019-09-29 | syntax: fix #64682. | Mazdak Farrokhzad | -26/+18 | |
| Fuse parsing of `self` into `parse_param_general`. | ||||
| 2019-09-28 | syntax: don't keep a redundant c_variadic flag in the AST. | Eduard-Mihai Burtescu | -2/+1 | |
| 2019-09-26 | Rename `ForeignItem.node` to `ForeignItem.kind` | varkor | -4/+4 | |
| 2019-09-26 | Rename `Item.node` to `Item.kind` | varkor | -2/+2 | |
| 2019-09-26 | Rename `Ty.node` to `Ty.kind` | varkor | -3/+3 | |
| 2019-09-26 | Rename `TraitItem.node` to `TraitItem.kind` | varkor | -2/+2 | |
| 2019-09-26 | Rename `ImplItem.node` to `ImplItem.kind` | varkor | -4/+4 | |
| 2019-09-23 | Add parser recovery for `const $ident = $expr;`. | Mazdak Farrokhzad | -3/+44 | |
| Then use the diagnostics-stealing API to stash parser errors and enrich them with type information in typeck. | ||||
| 2019-09-15 | Give more `Idents` spans | Matthew Jasper | -1/+1 | |
| 2019-09-09 | Resolve attributes in several places | Caio | -0/+3 | |
| Arm, Field, FieldPat, GenericParam, Param, StructField and Variant | ||||
| 2019-09-07 | Aggregation of cosmetic changes made during work on REPL PRs: libsyntax | Alexander Regueiro | -57/+58 | |
| 2019-08-27 | Cleanup: Consistently use `Param` instead of `Arg` #62426 | Kevin Per | -5/+5 | |
| 2019-08-20 | Allow 'default async fn' to parse. | Mazdak Farrokhzad | -0/+1 | |
| 2019-08-15 | Remove `Spanned` from `ast::Mac` | Vadim Petrochenkov | -5/+7 | |
| 2019-08-14 | Merge Variant and Variant_ | Caio | -2/+3 | |
| 2019-08-11 | parser: move into stmt.rs | Mazdak Farrokhzad | -0/+5 | |
| 2019-08-11 | parser: move parse_ident_or_underscore into item.rs | Mazdak Farrokhzad | -0/+11 | |
| 2019-08-11 | parser: split into {item,module}.rs | Mazdak Farrokhzad | -0/+1899 | |
