| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2019-08-02 | Replace "existential" by "opaque" | varkor | -12/+6 | |
| 2019-08-02 | Switch existential_type to type_alias_impl_trait | varkor | -18/+7 | |
| 2019-08-01 | Fix ICE in #63135 | Michael Lamparski | -1/+9 | |
| 2019-08-01 | Rollup merge of #63122 - Centril:fix-63115, r=petrochenkov | Pietro Albini | -6/+3 | |
| Account for `maybe_whole_expr` in range patterns Fixes https://github.com/rust-lang/rust/issues/63115 (fallout from https://github.com/rust-lang/rust/pull/62550). r? @petrochenkov | ||||
| 2019-07-31 | Address review comments. | Mazdak Farrokhzad | -6/+2 | |
| 2019-07-31 | Replace a few Attribute constructors with mk_attr | Mark Rousskov | -9/+2 | |
| 2019-07-30 | Point at type ascription before macro invocation on expansion parse error | Esteban Küber | -6/+36 | |
| 2019-07-30 | Unsupport the await!(..) macro. | Mazdak Farrokhzad | -35/+11 | |
| 2019-07-30 | Rollup merge of #62928 - Centril:recover-parens-around-for-head, r=estebank | Mazdak Farrokhzad | -125/+136 | |
| 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-30 | Account for maybe_whole_expr in range patterns. | Mazdak Farrokhzad | -0/+1 | |
| 2019-07-28 | Rollup merge of #61856 - c410-f3r:attrs-fn, r=matthewjasper | Mazdak Farrokhzad | -1/+7 | |
| Lint attributes on function arguments Fixes #61238. cc #60406 | ||||
| 2019-07-28 | Add 'span_to_snippet' shortcut. | Mazdak Farrokhzad | -10/+7 | |
| 2019-07-28 | Use chaining for diagnosics in parser. | Mazdak Farrokhzad | -119/+122 | |
| 2019-07-28 | Recover 'for ( $pat in $expr ) $block'. | Mazdak Farrokhzad | -0/+11 | |
| 2019-07-28 | Address comments in lowering + parsing. | Mazdak Farrokhzad | -4/+7 | |
| 2019-07-28 | Recover on 'X..' / 'X..=' / 'X...' range patterns. | Mazdak Farrokhzad | -21/+43 | |
| 2019-07-28 | Recover on '..X' / '..=X' / '...X' range patterns. | Mazdak Farrokhzad | -6/+46 | |
| 2019-07-28 | Adjust parsing of Slice, Tuple, TupleStruct patterns. | Mazdak Farrokhzad | -127/+26 | |
| 2019-07-28 | Cleanup using the new parse_*_seq methods. | Mazdak Farrokhzad | -96/+60 | |
| 2019-07-28 | Add more parse_*_seq methods for code reuse. | Mazdak Farrokhzad | -0/+24 | |
| 2019-07-28 | Cleanup parse_seq_* methods + record trailing separators. | Mazdak Farrokhzad | -42/+35 | |
| 2019-07-27 | Lint attributes on function arguments | Caio | -1/+7 | |
| 2019-07-25 | Rollup merge of #62887 - estebank:issue-62881, r=petrochenkov | Mazdak Farrokhzad | -1/+14 | |
| Make the parser TokenStream more resilient after mismatched delimiter recovery Fix #62881, fix #62895. | ||||
| 2019-07-23 | review comments | Esteban Küber | -3/+4 | |
| 2019-07-23 | Fix another case | Esteban Küber | -3/+12 | |
| 2019-07-22 | Make the parser TokenStream more resilient after mismatched delimiter recovery | Esteban Küber | -0/+3 | |
| 2019-07-19 | review comments | Esteban Küber | -9/+3 | |
| 2019-07-19 | Handle more cases of typos misinterpreted as type ascription | Esteban Küber | -19/+26 | |
| 2019-07-16 | Rollup merge of #62666 - estebank:preempt-ice, r=eddyb | Mark Rousskov | -8/+9 | |
| Cancel unemitted diagnostics during error recovery Follow up to https://github.com/rust-lang/rust/pull/62604. Use @eddyb's preferred style and catch other case of the same problem. r? @eddyb | ||||
| 2019-07-15 | Rollup merge of #62668 - goodmanjonathan:fix-62660, r=estebank | Mark Rousskov | -1/+1 | |
| Fix #62660 If the explicitly given type of a `self` parameter fails to parse correctly, we need to propagate the error rather than dropping it and causing an ICE. Fixes #62660. | ||||
| 2019-07-15 | Auto merge of #62670 - estebank:extern-fn-with-body, r=petrochenkov | bors | -14/+24 | |
| Detect `fn` with a body in an `extern` block Fix #62109. | ||||
| 2019-07-14 | Auto merge of #62643 - estebank:parse-recovery-type-errs, r=petrochenkov | bors | -2/+4 | |
| Do not emit type errors after parse error in last statement of block When recovering from a parse error inside a block, do not emit type errors generating on that block's recovered return expression. Fix #57383. | ||||
| 2019-07-14 | Auto merge of #62638 - estebank:issue-62554, r=petrochenkov | bors | -17/+13 | |
| Use snippet instead of pprinting statement Fix #62554. | ||||
| 2019-07-13 | Detect `fn` with a body in an `extern` block | Esteban Küber | -14/+24 | |
| 2019-07-13 | Don't drop DiagnosticBuilder if parsing fails | Jonathan Goodman | -1/+1 | |
| If the explicitly given type of a `self` parameter fails to parse correctly, we need to propagate the error rather than dropping it and causing an ICE. Fixes #62660. | ||||
| 2019-07-13 | Cancel unemitted diagnostics during error recovery | Esteban Küber | -8/+9 | |
| 2019-07-13 | Rollup merge of #62604 - estebank:unemitted-err-ice, r=pnkfelix | Mazdak Farrokhzad | -4/+7 | |
| Handle errors during error recovery gracefully Fix #62546. | ||||
| 2019-07-12 | Do not emit type errors after parse error in last statement of block | Esteban Küber | -2/+4 | |
| When recovering from a parse error inside a block, do not emit type errors generating on that block's recovered return expression. Fix #57383. | ||||
| 2019-07-12 | Use snippet instead of pprinting statement | Esteban Küber | -17/+13 | |
| 2019-07-12 | Rollup merge of #62607 - estebank:this-mem-is-out-of-control, r=petrochenkov | Mazdak Farrokhzad | -2/+3 | |
| Correctly break out of recovery loop Fix #61858. | ||||
| 2019-07-11 | Correctly break out of recovery loop | Esteban Küber | -2/+3 | |
| 2019-07-11 | Emit dropped unemitted errors to aid in ICE debugging | Esteban Küber | -6/+7 | |
| 2019-07-11 | Handle errors during error recovery gracefully | Esteban Küber | -4/+7 | |
| 2019-07-10 | Remove needless indent arguments | Mark Rousskov | -1/+1 | |
| We're always indenting by INDENT_UNIT anyway | ||||
| 2019-07-10 | Move pp::Printer helpers to direct impl | Mark Rousskov | -2/+1 | |
| 2019-07-05 | Rollup merge of #62292 - Centril:split-async-closures, r=cramertj | Mazdak Farrokhzad | -15/+21 | |
| Move `async || ...` closures into `#![feature(async_closure)]` The `async || expr` syntax is moved out from `#![feature(async_await)]` into its own gate `#![feature(async_closure)]`. New tracking issue: https://github.com/rust-lang/rust/issues/62290 Closes https://github.com/rust-lang/rust/issues/62214. cc https://github.com/rust-lang/rust/issues/62149 r? @varkor | ||||
| 2019-07-05 | Auto merge of #62099 - Mark-Simulacrum:syntax-print-clean-2, r=eddyb | bors | -9/+9 | |
| Remove io::Result from syntax::print Since we're now writing directly to the vector, there's no need to thread results through the whole printing infrastructure | ||||
| 2019-07-04 | Rollup merge of #62258 - petrochenkov:idclean, r=Centril | Mazdak Farrokhzad | -137/+77 | |
| syntax: Unsupport `foo! bar { ... }` macros in the parser Their support in expansion was removed in https://github.com/rust-lang/rust/pull/61606. Also un-reserve `macro_rules` as a macro name, there's no ambiguity between `macro_rules` definitions and macro calls (it also wasn't reserved correctly). cc https://github.com/rust-lang-nursery/wg-grammar/issues/51 | ||||
| 2019-07-03 | Add separate 'async_closure' feature gate. | Mazdak Farrokhzad | -15/+21 | |
| 2019-07-01 | Convert more usages over | Chris Gregory | -2/+2 | |
