about summary refs log tree commit diff
path: root/compiler/rustc_parse
AgeCommit message (Expand)AuthorLines
2023-02-21Use `ThinVec` in `ast::Generics` and related types.Nicholas Nethercote-16/+17
2023-02-21Upgrade `thin-vec` from 0.2.9 to 0.2.12.Nicholas Nethercote-1/+1
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
2023-02-01Use AddToDiagnostic for "use latest edition" helpXiretza-8/+13
2023-02-01rustc_parse: avoid creating unnecessary intermediate stringsXiretza-1/+2
2023-02-01fix formatting + test syntaxSpanishPear-1/+1
2023-02-01fix parser mistaking const closures for const itemDeadbeef-6/+17
2023-02-01Rollup merge of #107487 - edward-shen:edward-shen/107213-round-2, r=estebankMatthias Krüger-2/+2
2023-01-31Rollup merge of #107467 - WaffleLapkin:uneq, r=oli-obkGuillaume Gomez-22/+22
2023-01-31move to multipart spansSpanishPear-5/+6
2023-01-31Auto merge of #105650 - cassaundra:float-literal-suggestion, r=pnkfelixbors-1/+10
2023-01-30Make the "extra if in let...else block" hint a suggestionEdward Shen-2/+2
2023-01-30Fix invalid float literal suggestions when recovering an integerCassaundra Smith-1/+10
2023-01-30Replace enum `==`s with `match`es where it makes senseMaybe Waffle-22/+22