about summary refs log tree commit diff
path: root/compiler/rustc_ast
AgeCommit message (Expand)AuthorLines
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
2024-12-02Deduplicate some matches that always panic in one armOli Scherer-13/+22
2024-12-02Add a helper method for extracting spans from AttrArgsEqOli Scherer-4/+10
2024-12-02Change `AttrArgs::Eq` into a struct variantOli Scherer-20/+22
2024-11-30Eliminate magic numbers from expression precedenceDavid Tolnay-35/+61
2024-11-30Eliminate PREC_FORCE_PARENDavid Tolnay-1/+0
2024-11-28always create `DefId`s when lowering anon-constslcnr-3/+4
2024-11-26Rollup merge of #133140 - dtolnay:precedence, r=fmeaseMichael Goulet-161/+66
2024-11-25Refactor `where` predicates, and reserve for attributes supportFrank King-31/+44
2024-11-24add guard pattern AST nodeMax Niederman-3/+16
2024-11-21Implement the unsafe-fields RFC.Luca Versari-2/+4
2024-11-21Auto merge of #132629 - nnethercote:124141-preliminaries, r=petrochenkovbors-13/+149
2024-11-21Rollup merge of #133153 - maxcabrajac:flat_maps, r=petrochenkovMatthias Krüger-46/+144
2024-11-21Prepare for invisible delimiters.Nicholas Nethercote-2/+36
2024-11-21Introduce `InvisibleOrigin` on invisible delimiters.Nicholas Nethercote-11/+113
2024-11-20Itemsmaxcabrajac-17/+59
2024-11-18Add MutVisitor::visit_fn_ret_tymaxcabrajac-2/+6