about summary refs log tree commit diff
path: root/compiler/rustc_ast
AgeCommit message (Expand)AuthorLines
2025-01-30Rollup merge of #135882 - hkBst:master, r=estebankMatthias Krüger-7/+7
2025-01-28Refactor FnKind variant to hold &FnCelina G. Val-32/+29
2025-01-26rustc_ast: replace some len-checks + indexing with slice patterns etc. 🧹Yotam Ofek-10/+10
2025-01-23simplify similar_tokens from Vec<_> to &[_]Marijn Schouten-6/+6
2025-01-23simplify similar_tokens from Option<Vec<_>> to Vec<_>Marijn Schouten-7/+7
2025-01-23Handle parenthesised infer argsBoxy-0/+9
2025-01-23Make `hir::TyKind::TraitObject` use tagged ptrBoxy-3/+26
2025-01-21Auto merge of #134299 - RalfJung:remove-start, r=compiler-errorsbors-9/+1
2025-01-21remove support for the #[start] attributeRalf Jung-9/+1
2025-01-15allowed_through_unstable_modules: support showing a deprecation message when ...Ralf Jung-0/+2
2025-01-11Remove allocations from case-insensitive comparison to keywordsMark Rousskov-1/+2
2025-01-09Auto merge of #135268 - pietroalbini:pa-bump-stage0, r=Mark-Simulacrumbors-1/+1
2025-01-08update cfg(bootstrap)Pietro Albini-1/+1
2025-01-08Rename PatKind::Lit to ExprOli Scherer-5/+5
2025-01-01upstream rustc_codegen_llvm changes for enzyme/autodiffManuel Drehwald-16/+3
2024-12-31Rollup merge of #134956 - compiler-errors:format-args-hidden-chars, r=jieyouxuMatthias Krüger-2/+7
2024-12-31Account for format_args in HiddenUnicodeCodepoints lintMichael Goulet-2/+7
2024-12-31Convert some Into impls into From implsMichael Goulet-9/+9
2024-12-23Use `#[derive(Default)]` instead of manually implementing itEsteban Küber-16/+3
2024-12-20Change comparison operators to have Fixity::NoneDavid Tolnay-3/+4
2024-12-21Rollup merge of #133782 - dtolnay:closuresjumps, r=spastorino,traviscrossMatthias Krüger-5/+9
2024-12-18Rollup merge of #134253 - nnethercote:overhaul-keywords, r=petrochenkov许杰友 Jieyou Xu (Joe)-1/+7
2024-12-18Rollup merge of #134161 - nnethercote:overhaul-token-cursors, r=spastorino许杰友 Jieyou Xu (Joe)-93/+52
2024-12-18Only have one source of truth for keywords.Nicholas Nethercote-1/+7
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-20/+12
2024-12-18Overhaul `TokenTreeCursor`.Nicholas Nethercote-37/+4
2024-12-18Remove `Peekable<TokenStreamIter>` uses.Nicholas Nethercote-19/+13
2024-12-18Rename `RefTokenTreeCursor`.Nicholas Nethercote-45/+43
2024-12-18Simplify `RefTokenTreeCursor::look_ahead`.Nicholas Nethercote-2/+2
2024-12-16Rollup merge of #134284 - estebank:issue-74863, r=lcnrMatthias Krüger-0/+2
2024-12-15Remove some leftover dead codeJonathan Dönszelmann-55/+2
2024-12-15Add hir::AttributeJonathan Dönszelmann-82/+213
2024-12-15Rename `value` field to `expr` to simplify later commits' diffsOli Scherer-12/+12
2024-12-13Keep track of patterns that could have introduced a binding, but didn'tEsteban Küber-0/+2
2024-12-13Rollup merge of #134140 - compiler-errors:unsafe-binders-ast, r=oli-obkMatthias Krüger-1/+53
2024-12-13Rollup merge of #133937 - estebank:silence-resolve-errors-from-mod-with-parse...Matthias Krüger-3/+8
2024-12-12Add unwrap_unsafe_binder and wrap_unsafe_binder macro operatorsMichael Goulet-1/+32
2024-12-12Parsing unsafe bindersMichael Goulet-0/+21
2024-12-11allow `symbol_intern_string_literal` lint in test modulesonur-ozkan-0/+2
2024-12-10Keep track of parse errors in `mod`s and don't emit resolve errors for paths ...Esteban Küber-3/+8
2024-12-09Introduce `default_field_values` featureEsteban Küber-2/+6
2024-12-08Rollup merge of #133424 - Nadrieril:guard-patterns-parsing, r=fee1-deadMatthias Krüger-3/+16
2024-12-04Fix suggestion when shorthand self has erroneous typeMichael Goulet-0/+12
2024-12-04Rollup merge of #133784 - dtolnay:visitspans, r=compiler-errorsMatthias Krüger-7/+9
2024-12-03Visit Stmt span in MutVisitor::flat_map_stmtDavid Tolnay-6/+7
2024-12-03Visit BinOp span in MutVisitor::visit_exprDavid Tolnay-1/+2
2024-12-02Never parenthesize `continue`David Tolnay-1/+1
2024-12-02Raise precedence of closure that has explicit return typeDavid Tolnay-2/+8
2024-12-02Squash closures and jumps into a single precedence levelDavid Tolnay-4/+2
2024-12-02Rollup merge of #133746 - oli-obk:push-xwyrylxmrtvq, r=jieyouxuGuillaume Gomez-29/+46