about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/item.rs
AgeCommit message (Expand)AuthorLines
2023-02-24Replace parse_[sth]_expr with parse_expr_[sth] function namesest31-2/+2
2023-02-21Use `ThinVec` in a few more AST types.Nicholas Nethercote-2/+2
2023-02-21Use `ThinVec` in various AST types.Nicholas Nethercote-7/+7
2023-02-21Use `ThinVec` in `ast::Impl` and related types.Nicholas Nethercote-3/+3
2023-02-19Reduce limit on `macro_rules!` diagnosticJacob Pratt-1/+1
2023-02-19Make public API, docs algorithm-agnosticJacob Pratt-2/+3
2023-02-06Migrate `rustc_parse` to derive diagnosticsclubby789-62/+62
2023-02-02Rename `rust_2015` => `is_rust_2015`Maybe Waffle-1/+1
2023-02-01Make "use latest edition" subdiagnostic translatableXiretza-3/+3
2023-02-01rustc_parse: revert conversion of "non-item in item list" diagnosticXiretza-18/+25
2023-02-01rustc_parse: migrate more to diagnostic structsXiretza-260/+153
2023-02-01Fix condition for "missing `struct`" diagnostic on tuple structsXiretza-1/+1
2023-02-01Use AddToDiagnostic for "use latest edition" helpXiretza-5/+10
2023-02-01rustc_parse: avoid creating unnecessary intermediate stringsXiretza-1/+2
2023-01-12Auto merge of #106537 - fmease:recover-where-clause-before-tuple-struct-body,...bors-3/+11
2023-01-11parser: recover from where clauses placed before tuple struct bodiesLeón Orell Valerian Liehr-3/+11
2023-01-11Detect struct literal needing parenthesesEsteban Küber-1/+2
2022-12-29Auto merge of #106266 - matthiaskrgr:rollup-cxrdbzy, r=matthiaskrgrbors-1/+1
2022-12-29Provide a better error for `Fn` traits with lifetime paramsYutaro Ohno-1/+1
2022-12-28Tweak wordingEsteban Küber-1/+1
2022-12-28Account for ADT bodies and struct expressionsEsteban Küber-2/+29
2022-12-28Detect diff markers in the parserEsteban Küber-2/+9
2022-12-26Auto merge of #103020 - lyming2007:issue-102598-fix, r=jackh726bors-1/+0
2022-12-26remove unused importsTakayuki Maeda-1/+0
2022-12-14Rollup merge of #105502 - chenyukang:yukang/fix-105366-impl, r=estebankMatthias Krüger-2/+18
2022-12-13error parsing lifetime following by Sized and message + between themYiming Lei-1/+0
2022-12-11Rollup merge of #105369 - chenyukang:yukang/fix-105226, r=TaKO8KiMatthias Krüger-3/+9
2022-12-10compiler: remove unnecessary imports and qualified pathsKaDiWa-1/+0
2022-12-10fix #105366, suggest impl in the scenario of typo with fnyukang-2/+18
2022-12-07fix #105226, Detect spurious ; before assoc fn bodyyukang-3/+9
2022-12-06Rollup merge of #105098 - lyming2007:issue-103869-fix, r=eholkMatthias Krüger-1/+4
2022-12-01While parsing enum variant, the error message always disappearYiming Lei-1/+4
2022-12-01rustc_ast_lowering: Stop lowering imports into multiple itemsVadim Petrochenkov-1/+1
2022-11-23Auto merge of #104410 - WaffleLapkin:unregress, r=estebankbors-9/+21
2022-11-22`rustc_parse`: remove `ref` patternsMaybe Waffle-4/+4
2022-11-22Split `MacArgs` in two.Nicholas Nethercote-12/+9
2022-11-17Use `ThinVec` in `ast::Path`.Nicholas Nethercote-3/+4
2022-11-16Fix perf regression by correctly matching keywordsMaybe Waffle-9/+21
2022-11-11Auto merge of #99918 - WaffleLapkin:fnFnfun, r=estebankbors-31/+60
2022-11-08Parser: Recover from using colon as path separator in importsBruno A. Muciño-0/+17
2022-10-18Fix the bug of next_point in spanyukang-1/+1
2022-10-11Fix let removal suggestion in structMichael Goulet-6/+11
2022-10-10`let` is not allowed in struct field definitionsgimbles-1/+17
2022-10-01Replace some `bool` params with an enumMaybe Waffle-29/+34
2022-10-01Recover wrong cased keywords starting functionsMaybe Waffle-37/+42
2022-10-01recover wrong-cased `use`s (`Use`, `USE`, etc)Maybe Waffle-3/+22
2022-09-30Rollup merge of #102350 - TaKO8Ki:incomplete-fn-in-struct-definition, r=fee1-...Matthias Krüger-11/+17
2022-09-29improve E0585 helpRageking8-2/+2
2022-09-27Migrate more rustc_parse diagnostics to diagnostic structsXiretza-12/+10
2022-09-27Move rustc_parse diagnostic structs to separate moduleXiretza-1/+3