about summary refs log tree commit diff
path: root/compiler/rustc_parse/src
AgeCommit message (Expand)AuthorLines
2022-09-27Rework "inner attribute not permitted" errorsXiretza-58/+58
2022-09-27Remove error condition in parse_attributeXiretza-25/+12
2022-09-27Migrate more rustc_parse diagnostics to diagnostic structsXiretza-155/+156
2022-09-27Move rustc_parse diagnostic structs to separate moduleXiretza-811/+819
2022-09-27Migrate "invalid literal suffix" diagnostic to diagnostic structsXiretza-47/+56
2022-09-27Migrate more diagnostics in rustc_parse to diagnostic structsXiretza-218/+402
2022-09-28improve errors for incomplete functions in struct definitionsTakayuki Maeda-11/+17
2022-09-27Structured suggestion for missing mut/const in pointerMichael Goulet-4/+7
2022-09-27Rename some variables.Nicholas Nethercote-10/+10
2022-09-27add a label to struct/enum/union ident nameTakayuki Maeda-10/+26
2022-09-27create a new local varTakayuki Maeda-5/+3
2022-09-27Minor improvements.Nicholas Nethercote-3/+5
2022-09-26Rollup merge of #102286 - compiler-errors:recover-semi-in-block-item, r=david...Matthias Krüger-7/+30
2022-09-26remove cfg(bootstrap)Pietro Albini-1/+0
2022-09-26Auto merge of #102297 - fee1-dead-contrib:rollup-2np0cre, r=fee1-deadbors-0/+17
2022-09-26Inline and remove `cook_lexer_token`.Nicholas Nethercote-171/+174
2022-09-26Add `rustc_lexer::TokenKind::Eof`.Nicholas Nethercote-8/+2
2022-09-26Use less DRY in `cook_lexer_token`.Nicholas Nethercote-19/+19
2022-09-26Make `rustc_lexer::cursor::Cursor` public.Nicholas Nethercote-10/+13
2022-09-26[ui] Rearrange `StringReader`/`TokenTreesReader` creation.Nicholas Nethercote-20/+20
2022-09-26Remove `ast::Token::take`.Nicholas Nethercote-2/+1
2022-09-26Remove `TokenTreesReader::bump`.Nicholas Nethercote-17/+9
2022-09-26Clarify spacing computation.Nicholas Nethercote-13/+20
2022-09-26Move `#!` checking.Nicholas Nethercote-9/+8
2022-09-25Recover some items that expect braces and don't take semicolonsMichael Goulet-7/+30
2022-09-26Remove unnecessary `spacing` assignment.Nicholas Nethercote-1/+0
2022-09-26Rearrange `TokenTreesReader::parse_token_tree`.Nicholas Nethercote-178/+168
2022-09-22recover from struct nested in structRageking8-0/+17
2022-09-22Add missing code="" attributes to suggestion subdiagnosticsXiretza-4/+4
2022-09-21FIX - adopt new Diagnostic naming in newly migrated modulesJhonny Bill Mena-2/+2
2022-09-21UPDATE - rename SessionSubdiagnostic macro to SubdiagnosticJhonny Bill Mena-7/+7
2022-09-21UPDATE - rename DiagnosticHandler macro to DiagnosticJhonny Bill Mena-42/+42
2022-09-21UPDATE - rename DiagnosticHandler trait to IntoDiagnosticJhonny Bill Mena-43/+43
2022-09-21UPDATE - move SessionDiagnostic from rustc_session to rustc_errorsJhonny Bill Mena-1/+1
2022-09-21Auto merge of #101846 - chenyukang:fix-101793, r=davidtwcobors-5/+41
2022-09-20Rollup merge of #100250 - cjgillot:recover-token-stream, r=Aaron1011Michael Howell-1/+0
2022-09-17Rollup merge of #93628 - est31:stabilize_let_else, r=joshtriplettDylan DPC-1/+1
2022-09-16Rollup merge of #101859 - Rageking8:slight-vertical-formatting, r=compiler-er...Guillaume Gomez-12/+12
2022-09-16use subdiagnostic for logical negation, bitwise notyukang-11/+37
2022-09-15Only enable the let_else feature on bootstrapest31-1/+1
2022-09-16tweak suggestionyukang-1/+1
2022-09-15slight vertical formattingRageking8-12/+12
2022-09-15more tweak on diagnostic messagesyukang-0/+10
2022-09-15fix #101797: Suggest associated const for incorrect use of let in traitsyukang-4/+15
2022-09-14Auto merge of #101313 - SparrowLii:mk_attr_id, r=cjgillotbors-2/+15
2022-09-14Auto merge of #101212 - eholk:dyn-star, r=compiler-errorsbors-2/+11
2022-09-14make `mk_attr_id` part of `ParseSess`SparrowLii-2/+15
2022-09-13Address code review commentsEric Holk-3/+1
2022-09-13Emit an error instead of reconstructing token stream.Camille GILLOT-30/+14
2022-09-13Manually cleanup token stream when macro expansion aborts.Camille GILLOT-15/+30