about summary refs log tree commit diff
path: root/compiler/rustc_parse
AgeCommit message (Expand)AuthorLines
2022-08-21recover `const Tr` bounds (no `~`)Maybe Waffle-0/+14
2022-08-21Replace #[lint/warning/error] with #[diag]Xiretza-8/+8
2022-08-20Auto merge of #100564 - nnethercote:box-ast-MacCall, r=spastorinobors-7/+7
2022-08-20Rollup merge of #100750 - akabinds:akabinds/improved-invalid-function-qual-er...Matthias Krüger-0/+9
2022-08-20Rollup merge of #100667 - Xiretza:diag-structs-parser-ivd, r=davidtwcoMatthias Krüger-19/+41
2022-08-18added improved diagnostic for a function defined with an invalid qualifierakabinds-0/+9
2022-08-18Rollup merge of #100670 - Xiretza:parser-stmt-force-collect-docs, r=davidtwcoMatthias Krüger-1/+1
2022-08-17Migrate "invalid variable declaration" errors to SessionDiagnosticXiretza-19/+41
2022-08-17Rollup merge of #100018 - nnethercote:clean-up-LitKind, r=petrochenkovMatthias Krüger-3/+3
2022-08-17Fix documentation of rustc_parse::parser::Parser::parse_stmt_without_recoveryXiretza-1/+1
2022-08-17Box the `MacCall` in various types.Nicholas Nethercote-7/+7
2022-08-16Rename some things related to literals.Nicholas Nethercote-3/+3
2022-08-16Avoid unnecessary cloning in `Parser::get_ident_from_generic_arg`.Nicholas Nethercote-9/+5
2022-08-16Remove `{ast,hir}::WhereEqPredicate::id`.Nicholas Nethercote-1/+0
2022-08-15Rollup merge of #100559 - nnethercote:parser-simplifications, r=compiler-errorsMatthias Krüger-215/+163
2022-08-15Rollup merge of #100458 - compiler-errors:fn-argument-span, r=estebankMatthias Krüger-1/+1
2022-08-15Rollup merge of #100566 - TaKO8Ki:use-create-snapshot-for-diagnostic, r=cjgillotMatthias Krüger-2/+2
2022-08-15Rollup merge of #100534 - Rageking8:Rageking8-refactor1, r=compiler-errorsMatthias Krüger-2/+2
2022-08-15use `create_snapshot_for_diagnostic` instead of `clone` for `Parser`Takayuki Maeda-2/+2
2022-08-15suggest adding a missing semicolon before an itemTakayuki Maeda-2/+4
2022-08-15Simplify attribute handling in `parse_bottom_expr`.Nicholas Nethercote-208/+159
2022-08-15Streamline `parse_path_start_expr`.Nicholas Nethercote-9/+6
2022-08-14Rollup merge of #100253 - obeis:issue-100197, r=cjgillotMatthias Krüger-0/+13
2022-08-14Make code slightly more uniformRageking8-2/+2
2022-08-14Rollup merge of #100115 - obeis:issue-99910, r=cjgillotDylan DPC-0/+26
2022-08-13Rollup merge of #100446 - TaKO8Ki:suggest-removing-semicolon-after-impl-trait...Michael Goulet-4/+34
2022-08-13Rollup merge of #99646 - compiler-errors:arg-mismatch-single-arg-label, r=est...Michael Goulet-1/+1
2022-08-13Rollup merge of #100475 - chenyukang:fix-100461, r=fee1-deadMichael Goulet-2/+6
2022-08-13avoid cloning and then iteratingKaDiWa-5/+5
2022-08-13use `span_suggestion` instead of `span_suggestion_verbose`Takayuki Maeda-1/+1
2022-08-13give a helpful diagnostic even when the next struct field has an attributeyukang-2/+6
2022-08-12Adjust cfgsMark Rousskov-1/+0
2022-08-12Adjust span of fn argumentsMichael Goulet-1/+1
2022-08-12Adjust span of closure paramMichael Goulet-1/+1
2022-08-12Rollup merge of #100396 - chenyukang:fix-100394, r=petrochenkovDylan DPC-1/+6
2022-08-12suggest removing a semicolon after impl/trait itemsTakayuki Maeda-4/+34
2022-08-11Rollup merge of #100350 - jhpratt:stringify-vis, r=cjgillotMatthias Krüger-2/+10
2022-08-11Rollup merge of #100351 - compiler-errors:diagnostic-convention, r=fee1-deadDylan DPC-5/+5
2022-08-11suggest const or static for global variablechenyukang-1/+6
2022-08-10Do not consider method call receiver as an argument in AST.Camille GILLOT-5/+7
2022-08-10Use &mut Diagnostic instead of &mut DiagnosticBuilder unless neededMichael Goulet-5/+5
2022-08-09Stringify non-shorthand visibility correctlyJacob Pratt-2/+10
2022-08-10suggest a missing semicolon before an arrayTakayuki Maeda-0/+42
2022-08-09Recover from mutable variable declaration where `mut` is placed before `let`Obei Sideg-0/+13
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-04Suggest removing `let` if `let const` is usedObei Sideg-0/+16