about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/stmt.rs
AgeCommit message (Expand)AuthorLines
2023-11-02Minimize `pub` usage in `source_map.rs`.Nicholas Nethercote-1/+1
2023-10-20Move where doc comment meant as comment checkEsteban Küber-17/+0
2023-10-13Format all the let chains in compilerMichael Goulet-15/+26
2023-08-03Remove `MacDelimiter`.Nicholas Nethercote-2/+1
2023-07-30inline format!() args up to and including rustc_middleMatthias Krüger-5/+4
2023-05-29Use `Cow` in `{D,Subd}iagnosticMessage`.Nicholas Nethercote-3/+4
2023-05-18Rollup merge of #111054 - cjgillot:cfg-eval-recover, r=b-naberDylan DPC-1/+2
2023-05-09Rollup merge of #111120 - chenyukang:yukang-suggest-let, r=NilstriebDylan DPC-10/+7
2023-05-08code refactor and fix wrong suggestionyukang-1/+7
2023-05-08Suggest let for possible binding with tyyukang-9/+0
2023-05-05Add parsing for builtin # in expression and item contextest31-1/+5
2023-05-03Restrict `From<S>` for `{D,Subd}iagnosticMessage`.Nicholas Nethercote-1/+1
2023-05-01Do not recover when parsing stmt in cfg-eval.Camille GILLOT-1/+2
2023-05-01soften the wording for removing type ascriptionyukang-2/+2
2023-05-01Rip it outNilstrieb-20/+107
2023-03-09feat/refactor: improve errors in case of ident with number at startEzra Shaw-12/+0
2023-02-24Replace parse_[sth]_expr with parse_expr_[sth] function namesest31-5/+5
2023-02-21Use `ThinVec` in `ast::Block`.Nicholas Nethercote-4/+9
2023-02-05rustc_parse: remove huge error importsest31-23/+23
2023-02-01rustc_parse: migrate more to diagnostic structsXiretza-2/+3
2023-01-30Replace enum `==`s with `match`es where it makes senseMaybe Waffle-11/+11
2023-01-14Make `LhsExpr::AlreadyParsed` a named structMaybe Waffle-2/+8
2023-01-11Detect struct literal needing parenthesesEsteban Küber-2/+9
2022-12-28Tweak wordingEsteban Küber-1/+1
2022-12-28Detect diff markers in the parserEsteban Küber-0/+10
2022-12-14Auto merge of #104875 - chenyukang:yukang/fix-104867-inc, r=estebankbors-2/+2
2022-12-03parser: refactoring on recovery from invalid variable declarationsYutaro Ohno-16/+21
2022-12-03parser: fix ICE with invalid variable declaration in macro callYutaro Ohno-4/+4
2022-11-28Rename `ast::Lit` as `ast::MetaItemLit`.Nicholas Nethercote-1/+1
2022-11-26add start_stmt to handle postfix incrementyukang-2/+2
2022-11-22`rustc_parse`: remove `ref` patternsMaybe Waffle-3/+3
2022-11-22Split `MacArgs` in two.Nicholas Nethercote-5/+4
2022-11-16Use `token::Lit` in `ast::ExprKind::Lit`.Nicholas Nethercote-1/+1
2022-11-15comment feedbackyukang-2/+1
2022-11-15fix #104088, Slightly improve error message for invalid identifieryukang-2/+15
2022-11-13Add `delay_span_bug` to `AttrWrapper::take_for_recovery`Maybe Waffle-5/+7
2022-10-24fix #103425, remove extra type error after missing semicolon erroryukang-29/+36
2022-09-27Rework "inner attribute not permitted" errorsXiretza-2/+7
2022-09-27Migrate more rustc_parse diagnostics to diagnostic structsXiretza-64/+30
2022-09-27Move rustc_parse diagnostic structs to separate moduleXiretza-3/+2
2022-08-22Use `AttrVec` in more places.Nicholas Nethercote-9/+7
2022-08-20Auto merge of #100564 - nnethercote:box-ast-MacCall, r=spastorinobors-1/+1
2022-08-20Rollup merge of #100667 - Xiretza:diag-structs-parser-ivd, r=davidtwcoMatthias Krüger-19/+12
2022-08-17Migrate "invalid variable declaration" errors to SessionDiagnosticXiretza-19/+12
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-1/+1
2022-08-15Rollup merge of #100559 - nnethercote:parser-simplifications, r=compiler-errorsMatthias Krüger-3/+3
2022-08-15Simplify attribute handling in `parse_bottom_expr`.Nicholas Nethercote-3/+3
2022-08-14Rollup merge of #100253 - obeis:issue-100197, r=cjgillotMatthias Krüger-0/+13
2022-08-09Recover from mutable variable declaration where `mut` is placed before `let`Obei Sideg-0/+13