about summary refs log tree commit diff
path: root/src/librustc_parse/parser
AgeCommit message (Expand)AuthorLines
2020-08-02Auto merge of #74826 - matklad:mbe-fragment, r=petrochenkovbors-13/+177
2020-08-02Formatting: don't mix mod and useAleksey Kladov-6/+5
2020-08-02Introduce NonterminalKindAleksey Kladov-8/+173
2020-07-31Reduce verbosity of some type ascription errorsEsteban Küber-0/+1
2020-07-23Account for trailing closing angle bracketsEsteban Küber-22/+35
2020-07-23Detect turbofish missing surrounding angle bracketsEsteban Küber-3/+44
2020-07-15Rollup merge of #74337 - estebank:ty-parse-recovery, r=varkorManish Goregaokar-4/+10
2020-07-14Handle case of incomplete local ty more gracefullyEsteban Küber-4/+10
2020-07-15Remove lots of `Symbol::as_str()` calls.Nicholas Nethercote-3/+3
2020-07-10Rollup merge of #74125 - ayazhafiz:i/74050, r=matthewjasperManish Goregaokar-1/+1
2020-07-10Rollup merge of #71322 - petrochenkov:tuple00, r=nikomatsakisManish Goregaokar-38/+81
2020-07-09Rollup merge of #74188 - estebank:tweak-ascription-typo-heuristic, r=petroche...Manish Goregaokar-8/+13
2020-07-09Tweak `::` -> `:` typo heuristic and reduce verbosityEsteban Küber-8/+13
2020-07-08Correctly mark the ending span of a match armAyaz Hafiz-1/+1
2020-07-06Rollup merge of #73953 - JohnTitor:audit-hidden-sugg, r=estebankManish Goregaokar-3/+6
2020-07-02parser: Break float tokens into parts in tuple field positionsVadim Petrochenkov-38/+81
2020-07-02Audit uses of `span_suggestion_short`Yuki Okushi-3/+6
2020-07-01Rollup merge of #73803 - Aaron1011:feature/angle-field-recovery, r=matthewjasperManish Goregaokar-8/+44
2020-07-01Rollup merge of #73345 - petrochenkov:nointerp, r=Aaron1011Manish Goregaokar-8/+8
2020-07-01Remove `token::FlattenGroup`Vadim Petrochenkov-8/+8
2020-06-27Fix wording for anonymous parameter name helpJames Box-1/+1
2020-06-27Recover extra trailing angle brackets in struct definitionAaron Hill-8/+44
2020-06-26Rollup merge of #73597 - ayazhafiz:i/const-span, r=ecstatic-morseManish Goregaokar-3/+3
2020-06-26proc_macro: Stop flattening groups with dummy spansVadim Petrochenkov-8/+8
2020-06-24Auto merge of #73293 - Aaron1011:feature/macro-rules-arg-capture, r=petrochenkovbors-1/+1
2020-06-23Record span of `const` kw in GenericParamKindAyaz Hafiz-3/+3
2020-06-18Rollup merge of #73361 - estebank:non-primitive-cast, r=davidtwcoManish Goregaokar-1/+1
2020-06-18Rollup merge of #71976 - mibac138:let-recovery, r=estebankManish Goregaokar-2/+22
2020-06-15Tweak "non-primitive cast" errorEsteban Küber-1/+1
2020-06-15Always capture tokens for `macro_rules!` argumentsAaron Hill-1/+1
2020-06-11Rollup merge of #73182 - Aaron1011:feature/call-fn-span, r=matthewjasperDylan DPC-2/+4
2020-06-11Rollup merge of #73172 - matthiaskrgr:cl9ppy, r=Dylan-DPCDylan DPC-4/+4
2020-06-10Track span of function in method calls, and use this in #[track_caller]Aaron Hill-2/+4
2020-06-09Fix more clippy warningsMatthias Krüger-4/+4
2020-06-08Don't lose empty `where` clause when pretty-printingAaron Hill-2/+7
2020-05-30Rollup merge of #72585 - Aaron1011:feature/opt-item-tokens, r=petrochenkovRalf Jung-5/+16
2020-05-27improve diagnostics suggestion for missing `@` in slice id binding to rest p...Chris Simpkins-0/+20
2020-05-27Rollup merge of #72348 - chrissimpkins:fix-72253, r=estebankDylan DPC-0/+13
2020-05-26improve error message for unexpected comma token in multiline blockChris Simpkins-0/+13
2020-05-25Only capture tokens for items with outer attributesAaron Hill-5/+16
2020-05-24Collect tokens for `ast::Expr`Aaron Hill-14/+35
2020-05-22Rewrite `Parser::collect_tokens`Aaron Hill-73/+113
2020-05-21Adjust according to petrochenkov's review commentsmibac138-43/+22
2020-05-20Adjust according to estebank's review commentsmibac138-11/+8
2020-05-20Error recovery for `let` with `+=`mibac138-33/+32
2020-05-20Expand partial error recovery for `let` with `BinOpEq`mibac138-10/+30
2020-05-20Implement partial error recovery for `let` with `BinOpEq`mibac138-2/+27
2020-05-15Remove redundant backtick in error message.Eric Huss-1/+1
2020-05-08Remove ast::{Ident, Name} reexports.Camille GILLOT-18/+16
2020-05-05Detect errors caused by `async` block in 2015 editionEsteban Küber-22/+36