about summary refs log tree commit diff
path: root/compiler/rustc_parse
AgeCommit message (Expand)AuthorLines
2022-05-30Optimize the diagnostic generation for `extern unsafe`SparrowLii-26/+15
2022-05-24Minor improvement on else-no-if diagnosticMichael Goulet-8/+1
2022-05-24Rollup merge of #97298 - compiler-errors:if-else-stmt-braces, r=davidtwcoDylan DPC-5/+57
2022-05-24Auto merge of #97121 - pvdrz:do-subdiagnostics-later, r=davidtwcobors-9/+7
2022-05-23Parse expression after `else` as a condition if followed by `{`Michael Goulet-5/+57
2022-05-23Rollup merge of #97254 - jhpratt:remove-crate-vis, r=cjgillotDylan DPC-37/+8
2022-05-22rustc_parse: Move AST -> TokenStream conversion logic to `rustc_ast`Vadim Petrochenkov-111/+6
2022-05-21Merge crate and restricted visibilitiesJacob Pratt-18/+6
2022-05-21Remove feature: `crate` visibility modifierJacob Pratt-22/+5
2022-05-20Remove `crate` visibility usage in compilerJacob Pratt-17/+16
2022-05-20Introduce BareFnTy::decl_span and fix generics span.Camille GILLOT-1/+3
2022-05-19Move condition out of `maybe_recover_unexpected_comma`.Nicholas Nethercote-6/+9
2022-05-19Move condition out of `maybe_recover_colon_colon_in_pat_typo`.Nicholas Nethercote-6/+7
2022-05-19Move condition out of `maybe_report_ambiguous_plus` and `maybe_recover_from_b...Nicholas Nethercote-16/+9
2022-05-19Move condition out of `maybe_recover_from_question_mark`.Nicholas Nethercote-11/+6
2022-05-19Move condition out of `maybe_recover_from_bad_qpath`.Nicholas Nethercote-14/+13
2022-05-17generate code for `subdiagnostic` fields in the second `match`Christian Poveda-9/+7
2022-05-16keep bounds where they wereChristian Poveda-2/+1
2022-05-16migrate `maybe_recover_from_bad_type_plus` diagnosticChristian Poveda-25/+48
2022-05-11ast: Introduce some traits to get AST node properties genericallyVadim Petrochenkov-15/+33
2022-05-11Rollup merge of #96543 - nnethercote:rm-make_token_stream-hacks, r=Aaron1011Yuki Okushi-40/+1
2022-05-11Remove some unnecessary invisible delimiter checks.Nicholas Nethercote-2/+1
2022-05-07Auto merge of #96094 - Elliot-Roberts:fix_doctests, r=compiler-errorsbors-19/+20
2022-05-04Auto merge of #96546 - nnethercote:overhaul-MacArgs, r=petrochenkovbors-17/+35
2022-05-05Overhaul `MacArgs::Eq`.Nicholas Nethercote-17/+35
2022-05-02fix most compiler/ doctestsElliot Roberts-19/+20
2022-05-02Fix invalid keyword order for function declarationsKen Matsui-2/+2
2022-04-30Add `do yeet` expressions to allow experimentation in nightlyScott McMurray-0/+21
2022-04-30Save colon span to suggest bounds.Camille GILLOT-4/+9
2022-04-29Remove hacks in `make_token_stream`.Nicholas Nethercote-38/+0
2022-04-29errors: `span_suggestion` takes `impl ToString`David Wood-13/+13
2022-04-28Rollup merge of #96433 - petrochenkov:delim, r=nnethercoteDylan DPC-240/+245
2022-04-28Rollup merge of #96405 - pvdrz:ambiguous-plus-diagnostic, r=davidtwcoDylan DPC-9/+13
2022-04-28rustc_ast: Harmonize delimiter naming with `proc_macro::Delimiter`Vadim Petrochenkov-240/+245
2022-04-28Rollup merge of #96471 - BoxyUwU:let_else_considered_harmful, r=lcnrDylan DPC-3/+1
2022-04-28Rollup merge of #96421 - nnethercote:less-NoDelim, r=petrochenkovDylan DPC-50/+50
2022-04-27rename `sum_with_parens`Christian Poveda-6/+3
2022-04-27tut tut tutEllen-3/+1
2022-04-27Avoid producing `NoDelim` values in `FrameData`.Nicholas Nethercote-12/+15
2022-04-27Avoid producing `NoDelim` values in `MacArgs::delim()`.Nicholas Nethercote-16/+20
2022-04-27Avoid producing `NoDelim` values in `TokenCursorFrame`.Nicholas Nethercote-22/+15
2022-04-26move `AmbigousPlus` outsideChristian Poveda-9/+10
2022-04-26avoid `format!`Christian Poveda-2/+2
2022-04-25remove old codeChristian Poveda-9/+0
2022-04-25migrate ambiguous plus diagnosticChristian Poveda-9/+24
2022-04-23Better handle too many `#` recovery in raw strEsteban Küber-9/+34
2022-04-21Introduced `Cursor::next_with_spacing_ref`.Nicholas Nethercote-5/+5
2022-04-21Produce `CloseDelim` and pop the stack at the same time.Nicholas Nethercote-27/+34
2022-04-21Avoid some tuple destructuring.Nicholas Nethercote-5/+7
2022-04-20Remove `Eof` sanity check in `Parser::inlined_bump_with`.Nicholas Nethercote-6/+0