| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2019-04-05 | Rollup merge of #59687 - matklad:shebang, r=petrochenkov | Mazdak Farrokhzad | -11/+5 | |
| cleanup shebang handling in the lexer | ||||
| 2019-04-04 | cleanup shebang handling in the lexer | Aleksey Kladov | -11/+5 | |
| 2019-04-03 | make StringReader methods private | Aleksey Kladov | -2/+2 | |
| 2019-04-03 | make StringReader fields private | Aleksey Kladov | -6/+6 | |
| 2019-04-01 | Rollup merge of #59041 - saleemjaffer:trait_doc_comment_better_error_msg, ↵ | Mazdak Farrokhzad | -0/+16 | |
| r=pnkfelix fixes rust-lang#56766 fixes #56766 | ||||
| 2019-03-30 | Rollup merge of #59453 - estebank:recover-tuple-parse, r=petrochenkov | Mazdak Farrokhzad | -26/+57 | |
| Recover from parse error in tuple syntax | ||||
| 2019-03-28 | Deduplicate parse recovery code | Esteban Küber | -35/+43 | |
| 2019-03-29 | Rollup merge of #59476 - nnethercote:TokenStreamBuilder-SmallVec, r=petrochenkov | Mazdak Farrokhzad | -1/+2 | |
| Use `SmallVec` in `TokenStreamBuilder`. This reduces by 12% the number of allocations done for a "clean incremental" of `webrender_api`, which reduces the instruction count by about 0.5%. r? @petrochenkov | ||||
| 2019-03-29 | Use `SmallVec` in `TokenStreamBuilder`. | Nicholas Nethercote | -1/+2 | |
| This reduces by 12% the number of allocations done for a "clean incremental" of `webrender_api`, which reduces the instruction count by about 0.5%. It also reduces instruction counts by up to 1.4% across a range of rustc-perf benchmark runs. | ||||
| 2019-03-28 | Recover from parse error in tuple syntax | Esteban Küber | -8/+31 | |
| 2019-03-28 | Rollup merge of #59198 - estebank:recovered-pattern, r=zackmdavis | Mazdak Farrokhzad | -1/+1 | |
| Do not complain about unmentioned fields in recovered patterns When the parser has to recover from malformed code in a pattern, do not complain about missing fields. Fix #59145. | ||||
| 2019-03-27 | Rollup merge of #59421 - estebank:tuple-index-suffix, r=petrochenkov | Josh Stone | -50/+52 | |
| Reject integer suffix when tuple indexing Fix #59418. r? @varkor | ||||
| 2019-03-27 | Rollup merge of #57565 - petrochenkov:turbowarn, r=Centril | Josh Stone | -21/+10 | |
| syntax: Remove warning for unnecessary path disambiguators `rustfmt` is now stable and it removes unnecessary turbofishes, so removing the warning as discussed in https://github.com/rust-lang/rust/pull/43540 (where it was introduced). One hardcoded warning less. Closes https://github.com/rust-lang/rust/issues/58055 r? @nikomatsakis | ||||
| 2019-03-26 | Add specific message for tuple struct invoked with suffixed numeric field name | Esteban Küber | -1/+2 | |
| 2019-03-26 | Reword invalid suffixe errors | Esteban Küber | -7/+6 | |
| 2019-03-26 | Use `expect_no_suffix` for error | Esteban Küber | -8/+1 | |
| 2019-03-26 | Rollup merge of #59150 - estebank:type-ascription, r=varkor | Mazdak Farrokhzad | -13/+62 | |
| Expand suggestions for type ascription parse errors Fix #51222. CC #48016, #47666, #54516, #34255. | ||||
| 2019-03-25 | review comments | Esteban Küber | -1/+1 | |
| 2019-03-25 | Reject integer suffix when tuple indexing | Esteban Küber | -43/+52 | |
| 2019-03-24 | Separate variant id and variant constructor id. | David Wood | -5/+6 | |
| This commit makes two changes - separating the `NodeId` that identifies an enum variant from the `NodeId` that identifies the variant's constructor; and no longer creating a `NodeId` for `Struct`-style enum variants and structs. Separation of the variant id and variant constructor id will allow the rest of RFC 2008 to be implemented by lowering the visibility of the variant's constructor without lowering the visbility of the variant itself. No longer creating a `NodeId` for `Struct`-style enum variants and structs mostly simplifies logic as previously this `NodeId` wasn't used. There were various cases where the `NodeId` wouldn't be used unless there was an unit or tuple struct or enum variant but not all uses of this `NodeId` had that condition, by removing this `NodeId`, this must be explicitly dealt with. This change mostly applied cleanly, but there were one or two cases in name resolution and one case in type check where the existing logic required a id for `Struct`-style enum variants and structs. | ||||
| 2019-03-23 | Tweak unsupported negative trait bounds message | Esteban Küber | -7/+14 | |
| 2019-03-23 | syntax: Remove warning for unnecessary path disambiguators | Vadim Petrochenkov | -21/+10 | |
| 2019-03-23 | Auto merge of #59058 - petrochenkov:assocrecov3, r=estebank | bors | -88/+82 | |
| syntax: Better recovery for `$ty::AssocItem` and `ty!()::AssocItem` This PR improves on https://github.com/rust-lang/rust/pull/46788 covering a few missing cases. Fixes https://github.com/rust-lang/rust/issues/52307 Fixes https://github.com/rust-lang/rust/issues/53776 r? @estebank | ||||
| 2019-03-22 | Reword type ascription note to reduce verbosity | Esteban Küber | -5/+1 | |
| 2019-03-22 | Review comment | Esteban Küber | -2/+2 | |
| 2019-03-22 | Expand suggestions for type ascription parse errors | Esteban Küber | -13/+66 | |
| 2019-03-22 | Rollup merge of #59322 - estebank:diag-tweak, r=davidtwco | Mazdak Farrokhzad | -23/+28 | |
| Tweak incorrect escaped char diagnostic | ||||
| 2019-03-22 | Rollup merge of #59266 - estebank:struct-parse-recovery, r=petrochenkov | Mazdak Farrokhzad | -10/+20 | |
| Do not complain about non-existing fields after parse recovery When failing to parse struct-like enum variants, the ADT gets recorded as having no fields. Record that we have actually recovered during parsing of this variant to avoid complaing about non-existing fields when actually using it. Fix #57361. | ||||
| 2019-03-22 | Auto merge of #59031 - estebank:recover-from-comaless, r=petrochenkov | bors | -3/+33 | |
| Recover from missing comma between enum variants and from bad `pub` kw Fix #56579. Fix #56473. | ||||
| 2019-03-20 | Tweak incorrect escaped char diagnostic | Esteban Küber | -23/+28 | |
| 2019-03-19 | review comments | Esteban Küber | -1/+3 | |
| 2019-03-18 | Auto merge of #58872 - rep-nop:diagnostic-fix-56031, r=petrochenkov | bors | -3/+11 | |
| Adds help message in error for invalid `impl for T` syntax Fixes #56031. | ||||
| 2019-03-17 | Do not complain about non-existing fields after parse recovery | Esteban Küber | -10/+18 | |
| When failing to parse struct-like enum variants, the ADT gets recorded as having no fields. Record that we have actually recovered during parsing of this variant to avoid complaing about non-existing fields when actually using it. | ||||
| 2019-03-16 | Simplify check | Esteban Küber | -5/+1 | |
| 2019-03-16 | parse full visibility when recovering | Esteban Küber | -5/+9 | |
| 2019-03-16 | Recover from incorrect `pub` kw in "reasonable" places | Esteban Küber | -1/+13 | |
| 2019-03-16 | Recover from missing comma between enum variants | Esteban Küber | -2/+20 | |
| 2019-03-16 | Fix rebase | Vadim Petrochenkov | -2/+0 | |
| 2019-03-16 | Refactor away `NestedMetaItemKind` | Vadim Petrochenkov | -3/+2 | |
| Remove methods `Attribute::span` and `MetaItem::span` duplicating public fields | ||||
| 2019-03-16 | Rename `MetaItem::ident` to `MetaItem::path` | Vadim Petrochenkov | -4/+4 | |
| 2019-03-16 | syntax: Introduce `Ident::can_be_raw` | Vadim Petrochenkov | -11/+5 | |
| 2019-03-14 | Do not complain about unmentioned fields in recovered patterns | Esteban Küber | -1/+1 | |
| When the parser has to recover from malformed code in a pattern, do not complain about missing fields. | ||||
| 2019-03-13 | add suggestions to invalid macro item error | Andy Russell | -20/+25 | |
| 2019-03-13 | Rollup merge of #58876 - estebank:numeric-lifetime, r=petrochenkov | Mazdak Farrokhzad | -3/+15 | |
| Parse lifetimes that start with a number and give specific error Fix #58786. | ||||
| 2019-03-12 | Address review comments | Vadim Petrochenkov | -2/+6 | |
| 2019-03-12 | syntax: Optimize `maybe_whole`/`maybe_whole_expr` slightly | Vadim Petrochenkov | -14/+14 | |
| 2019-03-12 | syntax: Better recovery for `$ty::AssocItem` and `ty!()::AssocItem` | Vadim Petrochenkov | -73/+63 | |
| 2019-03-09 | review comments | Esteban Küber | -4/+4 | |
| 2019-03-09 | Expose new_sub_parser_from_file | topecongiro | -1/+1 | |
| This function is useful when external tools like rustfmt want to parse internal files without parsing a whole crate. | ||||
| 2019-03-09 | fixes rust-lang#56766 | Saleem Jaffer | -0/+16 | |
