about summary refs log tree commit diff
path: root/compiler/rustc_parse/src
AgeCommit message (Expand)AuthorLines
2023-02-26Rollup merge of #108418 - est31:parser_function_names, r=NilstriebMatthias Krüger-130/+130
2023-02-24Replace parse_[sth]_expr with parse_expr_[sth] function namesest31-130/+130
2023-02-23parser: provide better errors on closures with braces missingYutaro Ohno-1/+5
2023-02-22errors: generate typed identifiers in each crateDavid Wood-99/+123
2023-02-21Use `ThinVec` in a few more AST types.Nicholas Nethercote-4/+4
2023-02-21Use `ThinVec` in `ast::ExprKind::Match`.Nicholas Nethercote-1/+1
2023-02-21Use `ThinVec` in `ast::PatKind::Struct`.Nicholas Nethercote-4/+4
2023-02-21Use `ThinVec` in `ast::AngleBracketedArgs`.Nicholas Nethercote-4/+4
2023-02-21Use `ThinVec` in `ast::Block`.Nicholas Nethercote-7/+12
2023-02-21Use `ThinVec` in various AST types.Nicholas Nethercote-29/+35
2023-02-21Use `ThinVec` in `ast::Impl` and related types.Nicholas Nethercote-3/+3
2023-02-21Use `ThinVec` in `ast::WhereClause`.Nicholas Nethercote-2/+2
2023-02-21Use `ThinVec` in `ast::Generics` and related types.Nicholas Nethercote-16/+17
2023-02-20Rollup merge of #108200 - jhpratt:restricted-damerau-levenshtein-distance, r=...Matthias Krüger-2/+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-18Rollup merge of #108031 - jieyouxu:issue-108019, r=estebankMatthias Krüger-2/+7
2023-02-16Replace some `then`s with some `then_some`sMaybe Waffle-1/+1
2023-02-16`if $c:expr { Some($r:expr) } else { None }` =>> `$c.then(|| $r)`Maybe Waffle-19/+12
2023-02-14Rollup merge of #103478 - SpanishPear:spanishpear/issue_103366_fix, r=TaKO8KiMatthias Krüger-2/+56
2023-02-14Don't recover lifetimes/labels containing emojis as character literals许杰友 Jieyou Xu (Joe)-2/+7
2023-02-09Rollup merge of #107446 - clubby789:rustc-parse-diag-migrate, r=compiler-errorsMatthias Krüger-380/+526
2023-02-08Do not eagerly recover for bad impl-trait in macrosMichael Goulet-2/+3
2023-02-06Migrate `rustc_parse` to derive diagnosticsclubby789-380/+526
2023-02-06Rollup merge of #107580 - lenko-d:default_value_for_a_lifetime_generic_parame...Dylan DPC-1/+24
2023-02-05Recover from missing expression in for loopObei Sideg-0/+27
2023-02-05rustc_parse: remove huge error importsest31-121/+111
2023-02-04Recover from default value for a lifetime in generic parameters.Lenko Donchev-1/+24
2023-02-03Rollup merge of #107551 - fee1-dead-contrib:rm_const_fnmut_helper, r=oli-obkMichael Goulet-6/+17
2023-02-03Rollup merge of #107544 - nnethercote:improve-TokenCursor, r=petrochenkovDylan DPC-66/+61
2023-02-03Rollup merge of #107602 - estebank:anon-enum-access, r=compiler-errorsMatthias Krüger-12/+39
2023-02-03Rename `Cursor`/`CursorRef` as `TokenTreeCursor`/`RefTokenTreeCursor`.Nicholas Nethercote-5/+8
2023-02-03Remove `TokenCursorFrame`.Nicholas Nethercote-42/+34
2023-02-03Make clear that `TokenTree::Token` shouldn't contain a delimiter.Nicholas Nethercote-1/+7
2023-02-03Improve doc comment desugaring.Nicholas Nethercote-27/+21
2023-02-02Parse and recover from type ascription in patternsEsteban Küber-12/+39
2023-02-02Rollup merge of #107559 - WaffleLapkin:is_it_2015¿, r=davidtwcoMatthias Krüger-2/+2
2023-02-02Rollup merge of #107493 - clubby789:range-fat-arrow-followup, r=estebankMatthias Krüger-7/+12
2023-02-02Rollup merge of #106919 - compiler-errors:underscore-typo-in-field-pat, r=jac...Matthias Krüger-8/+15
2023-02-02Improve diagnostic for missing space in range patternclubby789-7/+12
2023-02-02Use `rust_2018` instead of `!is_rust_2015`Maybe Waffle-1/+1
2023-02-02Rename `rust_2015` => `is_rust_2015`Maybe Waffle-2/+2
2023-02-02Recover _ as .. in field patternMichael Goulet-8/+15
2023-02-02Revert "Teach parser to understand fake anonymous enum syntax" and related co...Michael Goulet-103/+17
2023-02-01Make "use latest edition" subdiagnostic translatableXiretza-17/+38
2023-02-01rustc_parse: revert conversion of "non-item in item list" diagnosticXiretza-50/+25
2023-02-01migrate parser::ty to diagnostic structsXiretza-85/+141
2023-02-01Convert rustc_parse::parser::pat::Expected to enumXiretza-20/+36
2023-02-01rustc_parse: migrate more to diagnostic structsXiretza-480/+817
2023-02-01Fix condition for "missing `struct`" diagnostic on tuple structsXiretza-1/+1