| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 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 | -15/+68 | |
| 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-25 | Auto merge of #59256 - petrochenkov:derval2, r=Zoxc | bors | -38/+38 | |
| Make meta-item API compatible with `LocalInternedString::get` soundness fix r? @Zoxc | ||||
| 2019-03-24 | Remove methods is_struct/is_tuple/is_unit from VariantData | Vadim Petrochenkov | -62/+38 | |
| 2019-03-24 | Separate variant id and variant constructor id. | David Wood | -25/+33 | |
| 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 | -22/+11 | |
| 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 | Hide "type ascription is experimental error" unless it's the only one | Esteban Küber | -2/+6 | |
| In order to minimize the verbosity of common syntax errors that are parsed as type ascription, hide the feature gate error unless there are no other errors being emitted by the parser. | ||||
| 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 | -16/+26 | |
| 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 | Rollup merge of #59170 - varkor:const-generics-rustdoc, r=QuietMisdreavus,eddyb | Mazdak Farrokhzad | -2/+2 | |
| Add const generics to rustdoc Split out from #53645. This work is a collaborative effort with @yodaldevoid. The `FIXME`s are waiting on a refactor to `LazyConst`. I'll address these in a follow up, but I thought it would be better to implement the rest now to avoid bitrot. r? @QuietMisdreavus | ||||
| 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 | -2/+4 | |
| 2019-03-19 | Rollup merge of #59116 - estebank:comma-sugg, r=petrochenkov | Mazdak Farrokhzad | -3/+5 | |
| Be more discerning on when to attempt suggesting a comma in a macro invocation Fix #58796. | ||||
| 2019-03-18 | Rename typarams to param_names | varkor | -2/+2 | |
| Co-Authored-By: Gabriel Smith <yodaldevoid@users.noreply.github.com> | ||||
| 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 | -15/+23 | |
| 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-17 | Make meta-item API compatible with `LocalInternedString::get` soundness fix | Vadim Petrochenkov | -38/+38 | |
| 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 | -94/+77 | |
| Remove methods `Attribute::span` and `MetaItem::span` duplicating public fields | ||||
| 2019-03-16 | Rename `MetaItem::ident` to `MetaItem::path` | Vadim Petrochenkov | -37/+36 | |
| 2019-03-16 | syntax: Introduce `Ident::can_be_raw` | Vadim Petrochenkov | -11/+5 | |
| 2019-03-16 | syntax_ext: Validate `#[proc_macro_derive]` input better | Vadim Petrochenkov | -2/+2 | |
| Tweak some error wording | ||||
| 2019-03-16 | syntax: Do not accidentally treat multi-segment meta-items as single-segment | Vadim Petrochenkov | -111/+109 | |
| 2019-03-16 | Rollup merge of #59169 - tmandry:allow-features-flag, r=cramertj | kennytm | -4/+28 | |
| Add `-Z allow_features=...` flag Adds a compiler option to allow only whitelisted features. For projects on nightly that want to prevent feature-creep (and maybe, someday, move off of nightly). Not being able to enforce this has been a problem on Fuchsia and at other big companies. This doesn't support filtering edition feature flags, but someone is welcome to add that if they need it. | ||||
| 2019-03-16 | Rollup merge of #59079 - euclio:macro-semi, r=estebank | kennytm | -20/+25 | |
| add suggestions to invalid macro item error r? @estebank | ||||
| 2019-03-15 | rustc: rename item_path to def_path (except the module in ty). | Eduard-Mihai Burtescu | -1/+1 | |
| 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-14 | Add `-Z allow_features=...` flag | Tyler Mandry | -4/+28 | |
| 2019-03-13 | add suggestions to invalid macro item error | Andy Russell | -20/+25 | |
| 2019-03-13 | Fix operator precedence | Esteban Küber | -2/+2 | |
| 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-11 | Be more discerning on when to attempt suggesting a comma in a macro invocation | Esteban Küber | -3/+5 | |
| 2019-03-11 | Auto merge of #58021 - ishitatsuyuki:57667-fix, r=RalfJung | bors | -33/+6 | |
| Fix fallout from #57667 | ||||
