about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser
AgeCommit message (Expand)AuthorLines
2022-08-06Rollup merge of #100167 - chenyukang:require-suggestion, r=estebankMatthias Krüger-1/+4
2022-08-05Rollup merge of #100168 - WaffleLapkin:improve_diagnostics_for_missing_type_i...Dylan DPC-11/+19
2022-08-05Improve diagnostics for `const a: = expr;`Maybe Waffle-11/+19
2022-08-05recover require,include instead of use in itemyukang-1/+4
2022-08-04Rollup merge of #98796 - compiler-errors:no-semi-if-comma, r=estebankMatthias Krüger-1/+2
2022-08-03Rollup merge of #99786 - obeis:issue-99625, r=compiler-errorsMatthias Krüger-0/+19
2022-08-02Rollup merge of #100011 - compiler-errors:let-chain-restriction, r=fee1-deadMatthias Krüger-44/+19
2022-08-01Use expr parse restrictions for let expr parsingMichael Goulet-44/+19
2022-07-30Auto merge of #99948 - Dylan-DPC:rollup-ed5136t, r=Dylan-DPCbors-6/+18
2022-07-30Rollup merge of #99903 - gimbles:pub, r=davidtwcoDylan DPC-0/+11
2022-07-30Auto merge of #99887 - nnethercote:rm-TreeAndSpacing, r=petrochenkovbors-20/+24
2022-07-29Add diagnostic when using public instead of pubGimgim-0/+11
2022-07-29Recover from c++ style `enum struct`Obei Sideg-0/+19
2022-07-29dont call type ascription 'cast'Michael Goulet-6/+7
2022-07-29Remove `TreeAndSpacing`.Nicholas Nethercote-20/+24
2022-07-28remove an unnecessary line breakTakayuki Maeda-1/+0
2022-07-25Remove let-chain close brace check.Eric Huss-4/+1
2022-07-23Do not suggest adding `;` when `,` is also a choiceMichael Goulet-1/+2
2022-07-16Stabilize `let_chains`Caio-23/+7
2022-07-14Rollup merge of #98705 - WaffleLapkin:closure_binder, r=cjgillotDylan DPC-26/+22
2022-07-13Rollup merge of #99030 - rust-lang:notriddle/field-recovery, r=petrochenkovDylan DPC-0/+18
2022-07-12Update compiler/rustc_parse/src/parser/expr.rsMichael Howell-1/+1
2022-07-12Parse closure bindersMaybe Waffle-26/+22
2022-07-12Rollup merge of #98633 - c410-f3r:yet-another-let-chain, r=estebankDylan DPC-8/+24
2022-07-08Fix last let_chains blockerCaio-8/+24
2022-07-08Auto merge of #98638 - bjorn3:less_string_interning, r=tmiaskobors-2/+1
2022-07-07diagnostics: suggest naming a field after failing to parseMichael Howell-0/+13
2022-07-07diagnostics: mention the `:` token when struct fields fail to parseMichael Howell-0/+5
2022-07-07Auto merge of #98827 - aDotInTheVoid:suggest-extern-block, r=nagisabors-1/+10
2022-07-03Auto merge of #98673 - pietroalbini:pa-bootstrap-update, r=Mark-Simulacrumbors-2/+2
2022-07-02ast: Add span to `Extern`Nixon Enraght-Moony-1/+10
2022-07-01update cfg(bootstrap)sPietro Albini-2/+2
2022-06-29Rollup merge of #98668 - TaKO8Ki:avoid-many-&str-to-string-conversions, r=Dyl...Matthias Krüger-7/+4
2022-06-29avoid many `&str` to `String` conversions with `MultiSpan::push_span_label`Takayuki Maeda-7/+4
2022-06-28Use pre-interned symbols in import recoverybjorn3-2/+1
2022-06-27various: add `rustc_lint_diagnostics` to diag fnsDavid Wood-0/+2
2022-06-26Rollup merge of #98428 - davidtwco:translation-derive-typed-identifiers, r=ol...Matthias Krüger-12/+12
2022-06-25[rustc_parse] Forbid lets in certain placesCaio-4/+32
2022-06-24macros: use typed identifiers in subdiag deriveDavid Wood-3/+3
2022-06-24macros: use typed identifiers in diag deriveDavid Wood-9/+9
2022-06-20Rollup merge of #98183 - dtolnay:emptybound, r=lcnrYuki Okushi-1/+4
2022-06-17remove the rest of unnecessary `to_string`Takayuki Maeda-4/+4
2022-06-16Fix pretty printing of empty type bound lists in where-clauseDavid Tolnay-1/+4
2022-06-16Do not suggest adding semicolon/changing delimiters for macros in item positi...Chayim Refael Friedman-21/+25
2022-06-13Improve parsing errors and suggestions for bad if statementsMichael Goulet-43/+82
2022-06-14Rollup merge of #95211 - terrarier2111:improve-parser, r=compiler-errorsYuki Okushi-9/+88
2022-06-13remove unnecessary `to_string` and `String::new` for `tool_only_span_suggestion`Takayuki Maeda-1/+1
2022-06-13remove unnecessary `to_string` and `String::new`Takayuki Maeda-121/+90
2022-06-12Improves parser diagnostics, fixes #93867threadexception-9/+88
2022-06-12use `create_snapshot_for_diagnostic` instead of `clone`Takayuki Maeda-2/+2