about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/ty.rs
AgeCommit message (Expand)AuthorLines
2025-01-27Trim extra whitespace in fn ptr suggestion spanTyrone Wu-4/+46
2024-12-19Speed up `Parser::expected_token_types`.Nicholas Nethercote-46/+46
2024-12-19Rename `Parser::expected_tokens` as `Parser::expected_token_types`.Nicholas Nethercote-1/+1
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-2/+1
2024-12-12Add testsMichael Goulet-1/+3
2024-12-12Parsing unsafe bindersMichael Goulet-1/+16
2024-12-03Rollup merge of #133545 - clubby789:symbol-intern-lit, r=jieyouxuMatthias Krüger-2/+2
2024-12-02Gate async fn trait bound modifier on async_trait_boundsMichael Goulet-2/+2
2024-11-28Replace `Symbol::intern` calls with preinterned symbolsclubby789-2/+2
2024-11-28Improve span handling in `parse_expr_bottom`.Nicholas Nethercote-7/+4
2024-10-15Auto merge of #131723 - matthiaskrgr:rollup-krcslig, r=matthiaskrgrbors-4/+10
2024-10-15Rollup merge of #130635 - eholk:pin-reborrow-sugar, r=compiler-errorsMatthias Krüger-3/+35
2024-10-14Move trait bound modifiers into ast::PolyTraitRefMichael Goulet-4/+10
2024-10-07Fix clippy and rustfmt compilationEric Holk-1/+4
2024-10-07Add sugar for &pin (const|mut) typesEric Holk-5/+34
2024-10-01Remove anon struct and union typesMichael Goulet-47/+0
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-5/+5
2024-09-14stabilize `const_extern_fn`Folkert de Vries-3/+0
2024-09-06Add initial support for raw lifetimesMichael Goulet-3/+4
2024-08-17Stabilize opaque type precise capturingMichael Goulet-1/+0
2024-08-14Use `impl PartialEq<TokenKind> for Token` more.Nicholas Nethercote-9/+8
2024-07-29Reformat `use` declarations.Nicholas Nethercote-10/+9
2024-07-25Rollup merge of #127054 - compiler-errors:bound-ordering, r=fmeaseMatthias Krüger-3/+57
2024-07-25Apply suggestions from code reviewLeón Orell Valerian Liehr-2/+6
2024-07-19Rollup merge of #127350 - veera-sivarajan:bugfix-126311, r=lcnrMatthias Krüger-0/+5
2024-07-18Parser: Suggest Placing the Return Type After Function ParametersVeera-0/+5
2024-07-16Deny keyword lifetimes pre-expansionMichael Goulet-0/+6
2024-07-12Make parse error suggestions verbose and fix spansEsteban Küber-10/+13
2024-07-11And additionally enforce ? and async/const aren't mixedMichael Goulet-0/+29
2024-07-10Enforce that ? and for<...> are not combinedMichael Goulet-0/+13
2024-07-10Improve error messageMichael Goulet-0/+8
2024-07-10Reorder modifiers and polarity to be *after* binder in trait boundsMichael Goulet-2/+2
2024-06-28Move binder and polarity parsing into parse_generic_ty_boundMichael Goulet-38/+60
2024-06-26Fix a span in `parse_ty_bare_fn`.Nicholas Nethercote-1/+1
2024-06-17Rework precise capturing syntaxMichael Goulet-15/+12
2024-06-17Make parse_seq_to_before_tokens take expected/nonexpected tokens, use in pars...Michael Goulet-4/+10
2024-06-06Reduce `pub` exposure.Nicholas Nethercote-1/+1
2024-06-01Reject CVarArgs in parse_ty_for_where_clauseLeón Orell Valerian Liehr-2/+3
2024-05-17Rename Unsafe to SafetySantiago Pastorino-2/+2
2024-05-13Warn against redundant use<...>Michael Goulet-28/+30
2024-04-16Auto merge of #123468 - compiler-errors:precise-capturing, r=oli-obkbors-6/+49
2024-04-15More polishingMichael Goulet-1/+3
2024-04-15Use a path instead of an ident (and stop manually resolving)Michael Goulet-2/+5
2024-04-15Validation and other thingsMichael Goulet-1/+1
2024-04-15Implement resolution, parse use<Self>Michael Goulet-1/+7
2024-04-15Use dedicated PreciseCapturingArg for representing what goes in use<>Michael Goulet-7/+23
2024-04-15Parsing , pre-lowering support for precise capturesMichael Goulet-4/+20
2024-04-04Rename ModSep to PathSepLeón Orell Valerian Liehr-1/+1
2024-03-21Use better variable names in some `maybe_whole!` calls.Nicholas Nethercote-1/+1
2024-03-05Rename all `ParseSess` variables/fields/lifetimes as `psess`.Nicholas Nethercote-7/+7