about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/stmt.rs
AgeCommit message (Expand)AuthorLines
2023-12-23Give `DiagnosticBuilder` a default type.Nicholas Nethercote-2/+2
2023-11-29Rollup merge of #118394 - nnethercote:rm-hir-Ops, r=cjgillotMatthias Krüger-2/+2
2023-11-28Rename `BinOpKind::lazy` as `BinOpKind::is_lazy`.Nicholas Nethercote-1/+1
2023-11-28Rework `ast::BinOpKind::to_string` and `ast::UnOp::to_string`.Nicholas Nethercote-1/+1
2023-11-27Change help message to make some sense in broader contextHirochika Matsumoto-1/+1
2023-11-27Address review feedbacksHirochika Matsumoto-16/+17
2023-11-27Make tidy test happyHirochika Matsumoto-1/+1
2023-11-27Detect Python-like slicing and suggest how to fixHirochika Matsumoto-0/+16
2023-11-19Rollup merge of #117988 - estebank:issue-106020, r=cjgillotMichael Goulet-0/+14
2023-11-16Handle attempts to have multiple `cfg`d tail expressionsEsteban Küber-0/+14
2023-11-16More detail when expecting expression but encountering bad macro argumentEsteban Küber-1/+1
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