| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2019-09-09 | Resolve attributes in several places | Caio | -1/+8 | |
| Arm, Field, FieldPat, GenericParam, Param, StructField and Variant | ||||
| 2019-09-07 | Apply suggestions from code review | Alexander Regueiro | -1/+1 | |
| 2019-09-07 | Aggregation of cosmetic changes made during work on REPL PRs: libsyntax | Alexander Regueiro | -38/+38 | |
| 2019-09-05 | Bail out when encountering likely missing turbofish in parser | Esteban Küber | -1/+4 | |
| When encountering a likely intended turbofish without `::`, bubble up the diagnostic instead of emitting it to allow the parser to recover more gracefully and avoid uneccessary type errors that are likely to be wrong. | ||||
| 2019-08-27 | Cleanup: Consistently use `Param` instead of `Arg` #62426 | Kevin Per | -17/+17 | |
| 2019-08-14 | Merge Variant and Variant_ | Caio | -6/+5 | |
| 2019-07-30 | Unsupport the await!(..) macro. | Mazdak Farrokhzad | -4/+19 | |
| 2019-07-30 | Rollup merge of #62928 - Centril:recover-parens-around-for-head, r=estebank | Mazdak Farrokhzad | -37/+81 | |
| Syntax: Recover on `for ( $pat in $expr ) $block` Fixes #62724 by adding some recovery: ``` error: unexpected closing `)` --> $DIR/recover-for-loop-parens-around-head.rs:10:23 | LL | for ( elem in vec ) { | --------------^ | | | opening `(` | help: remove parenthesis in `for` loop: `elem in vec` ``` The last 2 commits are drive-by cleanups. r? @estebank | ||||
| 2019-07-28 | Add 'span_to_snippet' shortcut. | Mazdak Farrokhzad | -6/+6 | |
| 2019-07-28 | Use chaining for diagnosics in parser. | Mazdak Farrokhzad | -33/+33 | |
| 2019-07-28 | Recover 'for ( $pat in $expr ) $block'. | Mazdak Farrokhzad | -0/+44 | |
| 2019-07-27 | Lint attributes on function arguments | Caio | -1/+1 | |
| 2019-07-19 | review comments | Esteban Küber | -7/+7 | |
| 2019-07-19 | Handle more cases of typos misinterpreted as type ascription | Esteban Küber | -42/+49 | |
| 2019-07-16 | normalize use of backticks in compiler messages for libsyntax/parse | Samy Kacimi | -1/+1 | |
| https://github.com/rust-lang/rust/issues/60532 | ||||
| 2019-07-13 | review comment | Esteban Küber | -1/+1 | |
| 2019-07-13 | Detect `fn` with a body in an `extern` block | Esteban Küber | -0/+37 | |
| 2019-07-10 | Move pp::Printer helpers to direct impl | Mark Rousskov | -2/+0 | |
| 2019-06-29 | Remove io::Result from syntax::print | Mark Rousskov | -6/+6 | |
| Since we're now writing directly to the vector, there's no need to thread results through the whole printing infrastructure | ||||
| 2019-06-26 | remove old fixme | Mark Mansi | -1/+1 | |
| 2019-06-21 | Implement arbitrary_enum_discriminant | John Wrenn | -19/+29 | |
| 2019-06-12 | Auto merge of #60669 - c410-f3r:attrs-fn, r=petrochenkov | bors | -4/+4 | |
| Allow attributes in formal function parameters Implements https://github.com/rust-lang/rust/issues/60406. This is my first contribution to the compiler and since this is a large and complex project, I am not fully aware of the consequences of the changes I have made. **TODO** - [x] Forbid some built-in attributes. - [x] Expand cfg/cfg_attr | ||||
| 2019-06-09 | Allow attributes in formal function parameters | Caio | -4/+4 | |
| 2019-06-08 | syntax: Remove `Deref` impl from `Token` | Vadim Petrochenkov | -1/+1 | |
| 2019-06-07 | parser: `self.span` -> `self.token.span` | Vadim Petrochenkov | -35/+35 | |
| 2019-06-06 | Some code cleanup and tidy/test fixes | Vadim Petrochenkov | -7/+8 | |
| 2019-06-06 | syntax: Remove duplicate span from `token::Ident` | Vadim Petrochenkov | -3/+3 | |
| 2019-06-06 | syntax: Use `Token` in `Parser` | Vadim Petrochenkov | -6/+6 | |
| 2019-06-06 | syntax: Rename `Token` into `TokenKind` | Vadim Petrochenkov | -6/+6 | |
| 2019-06-06 | Always use token kinds through `token` module rather than `Token` type | Vadim Petrochenkov | -5/+5 | |
| 2019-06-03 | syntax: revert `ast::AsyncArgument` and associated changes. | Eduard-Mihai Burtescu | -1/+1 | |
| Here follows the main reverts applied in order to make this commit: Revert "Rollup merge of #60676 - davidtwco:issue-60674, r=cramertj" This reverts commit 45b09453dbf120cc23d889435aac3ed7d2ec8eb7, reversing changes made to f6df1f6c30b469cb9e65c5453a0efa03cbb6005e. Revert "Rollup merge of #60437 - davidtwco:issue-60236, r=nikomatsakis" This reverts commit 16939a50ea440e72cb6ecefdaabb988addb1ec0e, reversing changes made to 12bf98155249783583a91863c5dccf9e346f1226. Revert "Rollup merge of #59823 - davidtwco:issue-54716, r=cramertj" This reverts commit 62d1574876f5531bce1b267e62dff520d7adcbbb, reversing changes made to 4eff8526a789e0dfa8b97f7dec91b7b5c18e8544. | ||||
| 2019-06-03 | Auto merge of #61331 - estebank:fn-arg-parse-recovery, r=varkor | bors | -10/+64 | |
| Recover gracefully from argument with missing type or param name | ||||
| 2019-06-01 | Extend docstring | Esteban Küber | -0/+7 | |
| 2019-05-30 | Move code from `parser` to `diagnostics` | Esteban Küber | -3/+38 | |
| 2019-05-30 | Recover gracefully from argument with missing type or param name | Esteban Küber | -8/+20 | |
| 2019-05-30 | Explicitly suggest 'type_ascription' feature | Janusz Marcinkiewicz | -2/+2 | |
| 2019-05-27 | Use `Symbol` equality in `is_ident_named`. | Nicholas Nethercote | -3/+3 | |
| 2019-05-25 | review comments: move back some methods and clean up wording | Esteban Küber | -40/+145 | |
| 2019-05-25 | Move some methods to `diagnostics.rs` away from `parser.rs` | Esteban Küber | -7/+429 | |
| Move a bunch of error recovery methods to `diagnostics.rs` away from `parser.rs`. | ||||
| 2019-05-25 | Tweak `self` arg not as first argument of a method diagnostic | Esteban Küber | -0/+45 | |
| Mention that `self` is only valid on "associated functions" ``` error: unexpected `self` argument in function --> $DIR/self-in-function-arg.rs:1:15 | LL | fn foo(x:i32, self: i32) -> i32 { self } | ^^^^ not valid as function argument | = note: `self` is only valid as the first argument of an associated function ``` When it is a method, mention it must be first ``` error: unexpected `self` argument in function --> $DIR/trait-fn.rs:4:20 | LL | fn c(foo: u32, self) {} | ^^^^ must be the first associated function argument ``` | ||||
| 2019-05-24 | Revert changes that belong to separate PR | Esteban Küber | -1/+1 | |
| 2019-05-24 | Move diagnostic logic out of parser | Esteban Küber | -0/+19 | |
| 2019-05-24 | review comments | Esteban Küber | -2/+54 | |
| 2019-05-23 | tweak discriminant on non-nullary enum diagnostic | Andy Russell | -3/+44 | |
| Adds notes pointing at the non-nullary variants, and uses "custom discriminant" language to be consistent with the Reference. | ||||
| 2019-05-22 | Restore the old behavior of the rustdoc keyword check + Fix rebase | Vadim Petrochenkov | -2/+2 | |
| 2019-05-16 | review comments | Esteban Küber | -26/+22 | |
| 2019-05-16 | Move some parser recovery methods to diagnostics | Esteban Küber | -2/+266 | |
| 2019-05-16 | Review comments | Esteban Küber | -1/+39 | |
| - Change wording of suggestion - Move recovery logic to `diagnostics.rs` - Reduce ammount of code duplication | ||||
| 2019-05-01 | move some functions from parser.rs to diagostics.rs | Andrew Xu | -0/+226 | |
| parser.rs is too big. Some functions only for error reporting and error recovery are being moved to diagostics.rs. | ||||
