about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/ty.rs
AgeCommit message (Expand)AuthorLines
2022-12-29Provide a better error for `Fn` traits with lifetime paramsYutaro Ohno-2/+93
2022-12-28Rename `Rptr` to `Ref` in AST and HIRNilstrieb-1/+1
2022-12-28Rollup merge of #106176 - compiler-errors:fn-kw-as-fn-trait, r=estebankMatthias Krüger-3/+45
2022-12-27Recover `fn` keyword as `Fn` trait in boundsMichael Goulet-3/+45
2022-12-13error parsing lifetime following by Sized and message + between themYiming Lei-0/+19
2022-11-23Auto merge of #104410 - WaffleLapkin:unregress, r=estebankbors-1/+1
2022-11-22Split `MacArgs` in two.Nicholas Nethercote-1/+1
2022-11-16Fix perf regression by correctly matching keywordsMaybe Waffle-1/+1
2022-11-11Recover from fn ptr tys with generic param listLeón Orell Valerian Liehr-3/+55
2022-11-11Auto merge of #99918 - WaffleLapkin:fnFnfun, r=estebankbors-2/+3
2022-11-09Make span_suggestions take IntoIteratorMichael Goulet-1/+1
2022-10-01Replace some `bool` params with an enumMaybe Waffle-2/+3
2022-10-01Recover wrong cased keywords starting functionsMaybe Waffle-2/+2
2022-09-27Structured suggestion for missing mut/const in pointerMichael Goulet-4/+7
2022-09-13Address code review commentsEric Holk-3/+1
2022-09-12Introduce dyn_star feature flagEric Holk-2/+13
2022-08-22Rollup merge of #99915 - WaffleLapkin:recover_keyword_bounds, r=compiler-errorsDylan DPC-1/+21
2022-08-21recover `const Tr` bounds (no `~`)Maybe Waffle-0/+14
2022-08-17Box the `MacCall` in various types.Nicholas Nethercote-2/+2
2022-07-29Recover keywords in boundsMaybe Waffle-1/+7
2022-06-13remove unnecessary `to_string` and `String::new`Takayuki Maeda-4/+4
2022-06-02Rollup merge of #97166 - nnethercote:move-conditions-out, r=estebankYuki Okushi-5/+10
2022-05-20Introduce BareFnTy::decl_span and fix generics span.Camille GILLOT-1/+3
2022-05-19Move condition out of `maybe_report_ambiguous_plus` and `maybe_recover_from_b...Nicholas Nethercote-2/+5
2022-05-19Move condition out of `maybe_recover_from_question_mark`.Nicholas Nethercote-2/+4
2022-05-19Move condition out of `maybe_recover_from_bad_qpath`.Nicholas Nethercote-1/+1
2022-05-02fix most compiler/ doctestsElliot Roberts-11/+11
2022-04-28rustc_ast: Harmonize delimiter naming with `proc_macro::Delimiter`Vadim Petrochenkov-14/+14
2022-03-26Stablize `const_extern_fn` for "Rust" and "C"Aaron Hill-0/+3
2022-03-04Do not recover from `Ty?` in macro parsingEsteban Kuber-11/+23
2022-02-23rustc_errors: let `DiagnosticBuilder::emit` return a "guarantee of emission".Eduard-Mihai Burtescu-1/+2
2022-01-14Parse `Ty?` as `Option<Ty>` and provide structured suggestionEsteban Kuber-0/+26
2021-12-13Use Inherited Visibility instead of None when no vis is presentAlexis Bourget-1/+6
2021-12-13Change error for pub in fn decl if already presentAlexis Bourget-1/+2
2021-11-24Account for incorrect `impl Foo<const N: ty> {}` syntaxEsteban Küber-6/+32
2021-10-17Some "parenthesis" and "parentheses" fixesr00ster91-1/+1
2021-09-09Revert "Implement Anonymous{Struct, Union} in the AST"Felix S. Klock II-13/+0
2021-08-27Introduce `~const`Deadbeef-26/+20
2021-07-02Recover from `&dyn mut ...` parse errorsFabian Wolff-1/+21
2021-06-04Remove incorrect assertion in type parsing codeFabian Wolff-1/+0
2021-05-16Implement Anonymous{Struct, Union} in the ASTjedel1043-0/+13
2021-05-03Handle incorrect placement of parentheses in trait bounds more gracefullyEsteban Küber-3/+36
2021-03-17Add pub as optional check_front_matterIvan Tham-2/+2
2021-02-27Recover from X<Y,Z> when parsing const exprÖmer Sinan Ağacan-2/+10
2020-12-17Address review commentsmibac138-7/+21
2020-12-03Gracefully handle confusing -> with : in function return typemibac138-13/+65
2020-12-01Gracefully handle mistyping -> as => in function return typemibac138-0/+21
2020-10-25Tweak invalid `fn` header and body parsingEsteban Küber-1/+13
2020-09-21fix typo in docs and commentsyuk1ty-1/+1
2020-09-15improve diagnostics for lifetime after `&mut`SNCPlay42-1/+27