about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/mod.rs
AgeCommit message (Expand)AuthorLines
2025-09-09Rollup merge of #145463 - jieyouxu:error-suffix, r=fmeaseMatthias Krüger-1/+4
2025-09-06Make `LetChainsPolicy` public for rustfmt usageMoritz Hedtke-0/+2
2025-08-25Remove the lifetime from `ExpTokenPair`/`SeqSep`.Nicholas Nethercote-31/+31
2025-08-22Rewrite the new attribute parserJonathan Brouwer-6/+7
2025-08-20Auto merge of #145348 - nnethercote:parse_token_tree-speedup-for-uom, r=petro...bors-6/+17
2025-08-18Turn invalid index suffixes into hard errorsJieyou Xu-1/+4
2025-08-14Add FnContext in parser for diagnosticxizheyin-1/+1
2025-08-14Sometimes skip over tokens in `parse_token_tree`.Nicholas Nethercote-6/+17
2025-08-09remove `P`Deadbeef-16/+15
2025-07-13Auto merge of #143461 - folkertdev:cfg-select-builtin-macro, r=petrochenkovbors-1/+5
2025-07-13make `cfg_select` a builtin macroFolkert de Vries-1/+5
2025-07-07const-block-as-pattern: do not refer to no-longer-existing nightly featureRalf Jung-2/+4
2025-06-26Add Ident::is_non_reserved_identMichael Goulet-1/+1
2025-05-27move asm parsing code into `rustc_parse`Folkert de Vries-0/+1
2025-04-30Rollup merge of #140494 - ehuss:document-restrictions, r=traviscross,SparrowLiiMatthias Krüger-0/+49
2025-04-30ast: Remove token visiting from AST visitorVadim Petrochenkov-4/+0
2025-04-29Parser: Document restrictionsEric Huss-0/+49
2025-04-29Move various token stream things from `rustc_parse` to `rustc_ast`.Nicholas Nethercote-172/+4
2025-04-22Move make_unclosed_delims_error to lexer/diagonostics.rsxizheyin-25/+1
2025-04-21Remove `token::{Open,Close}Delim`.Nicholas Nethercote-72/+54
2025-04-14Auto merge of #124141 - nnethercote:rm-Nonterminal-and-TokenKind-Interpolated...bors-30/+11
2025-04-08Allow for reparsing failure when reparsing a pasted metavar.Nicholas Nethercote-3/+10
2025-04-08Allow for missing invisible close delim when reparsing an expression.Nicholas Nethercote-1/+6
2025-04-04Apply `Recovery::Forbidden` when reparsing pasted macro fragments.Nicholas Nethercote-1/+16
2025-04-02Impl `Copy` for `Token` and `TokenKind`.Nicholas Nethercote-4/+4
2025-04-02Remove `NtBlock`, `Nonterminal`, and `TokenKind::Interpolated`.Nicholas Nethercote-26/+7
2025-04-02Remove `Token::uninterpolated_span`.Nicholas Nethercote-8/+27
2025-04-02Remove `NtExpr` and `NtLiteral`.Nicholas Nethercote-2/+30
2025-03-21remove `feature(inline_const_pat)`lcnr-4/+11
2025-03-17If a label is placed on the block of a loop instead of the header, suggest mo...Zachary S-1/+1
2025-03-12Auto merge of #138083 - nnethercote:rm-NtItem-NtStmt, r=petrochenkovbors-4/+8
2025-03-07Remove `NtItem` and `NtStmt`.Nicholas Nethercote-4/+8
2025-03-06Parse and allow const use closuresSantiago Pastorino-3/+3
2025-03-03Replace `ast::TokenKind::BinOp{,Eq}` and remove `BinOpToken`.Nicholas Nethercote-4/+4
2025-02-28Remove `NtPath`.Nicholas Nethercote-0/+1
2025-02-28Remove `NtMeta`.Nicholas Nethercote-0/+1
2025-02-28Remove `NtPat`.Nicholas Nethercote-1/+3
2025-02-22Greatly simplify lifetime captures in edition 2024Michael Goulet-1/+1
2025-02-21Avoid snapshotting the parser in `parse_path_inner`.Nicholas Nethercote-4/+3
2025-02-21Remove `NtTy`.Nicholas Nethercote-5/+28
2025-02-21Remove `NtVis`.Nicholas Nethercote-2/+44
2025-02-16Fix const items not being allowed to be called `r#move` or `r#static`Noratrieb-3/+3
2025-02-03tree-wide: parallel: Fully removed all `Lrc`, replaced with `Arc`Askar Safin-2/+2
2025-01-30Rollup merge of #135882 - hkBst:master, r=estebankMatthias Krüger-4/+2
2025-01-24use `fmt::from_fn` in more places, instead of using structs that impl formatt...Yotam Ofek-35/+25
2025-01-23simplify similar_tokens from Option<Vec<_>> to Vec<_>Marijn Schouten-4/+2
2025-01-21Only assert the `Parser` size on specific archesJosh Stone-2/+3
2025-01-11Remove allocations from case-insensitive comparison to keywordsMark Rousskov-2/+3
2024-12-19Fix `Parser` size assertion on s390x.Nicholas Nethercote-3/+3
2024-12-19Speed up `Parser::expected_token_types`.Nicholas Nethercote-127/+99