about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/ty.rs
AgeCommit message (Expand)AuthorLines
2025-09-16Detect top-level `...` in argument typeEsteban Küber-2/+11
2025-09-10Less greedily parse `[const]` boundsLeón Orell Valerian Liehr-5/+8
2025-09-10Restore the test intention of several MBE trait bound modifier testsLeón Orell Valerian Liehr-3/+3
2025-08-22Rollup merge of #144897 - fee1-dead-contrib:raw_lifetimes_printing, r=fmeaseJacob Pratt-2/+1
2025-08-22Recover param: Ty = EXPRMichael Goulet-2/+25
2025-08-22address review commentsDeadbeef-2/+1
2025-08-19Rollup merge of #145474 - fmease:paren-use-bounds-fix, r=fee1-dead许杰友 Jieyou Xu (Joe)-67/+80
2025-08-16Clean up parsers related to generic boundsLeón Orell Valerian Liehr-67/+70
2025-08-16Properly recover from parenthesized use-bounds (precise capturing)León Orell Valerian Liehr-16/+26
2025-08-14Add FnContext in parser for diagnosticxizheyin-3/+11
2025-08-09remove `P`Deadbeef-22/+29
2025-08-05Added checks for attribute in type caseKivooeo-4/+24
2025-07-15Recover and suggest use `;` to construct array typexizheyin-2/+57
2025-07-06compiler: rename {ast,hir}::BareFn* to FnPtr*Jubilee Young-6/+6
2025-07-02Rollup merge of #142237 - benschulz:unused-parens-fn, r=fee1-deadMatthias Krüger-16/+37
2025-07-01Remove support for dyn*Michael Goulet-8/+2
2025-07-01Detect more cases of unused_parens around typesBenjamin Schulz-16/+37
2025-06-29Fix the span of trait bound modifier `[const]`León Orell Valerian Liehr-1/+1
2025-06-26Change const trait bound syntax from ~const to [const]Oli Scherer-5/+19
2025-06-25Extract const boundness parsing out into a methodOli Scherer-12/+16
2025-06-13Rework how the disallowed qualifier lints are generatedJonathan Brouwer-55/+10
2025-06-06Rollup merge of #141603 - nnethercote:reduce-P, r=fee1-deadGuillaume Gomez-3/+3
2025-06-04Ensure stack in `Parser::parse_ty`Josh Stone-8/+12
2025-05-27Reduce `P<T>` to a typedef of `Box<T>`.Nicholas Nethercote-3/+3
2025-04-21Remove `token::{Open,Close}Delim`.Nicholas Nethercote-6/+6
2025-04-17Rollup merge of #139854 - fmease:modern-diag-for-lt-in-ty, r=davidtwcoMatthias Krüger-6/+57
2025-04-15Improve parse errors for lifetimes in type positionLeón Orell Valerian Liehr-6/+57
2025-04-02Impl `Copy` for `Token` and `TokenKind`.Nicholas Nethercote-2/+2
2025-04-02Remove `Token::uninterpolated_span`.Nicholas Nethercote-3/+3
2025-03-03Rename `ast::TokenKind::Not` as `ast::TokenKind::Bang`.Nicholas Nethercote-4/+4
2025-03-03Replace `ast::TokenKind::BinOp{,Eq}` and remove `BinOpToken`.Nicholas Nethercote-11/+7
2025-02-21Avoid snapshotting the parser in `parse_path_inner`.Nicholas Nethercote-3/+4
2025-02-21Remove `NtTy`.Nicholas Nethercote-4/+10
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