about summary refs log tree commit diff
path: root/compiler/rustc_ast/src
AgeCommit message (Expand)AuthorLines
2024-07-22Update trait name from Noop -> WalkOli Scherer-6/+6
2024-07-22Always pass the visitor as the first argument to walk* functionsOli Scherer-207/+207
2024-07-22Sync `mut_visit` function names with immut `visit` ones (s/noop_visit/walk/)Oli Scherer-134/+125
2024-07-22Add `Ident` to `FnKind::Fn`, just like with the immutable visitorOli Scherer-7/+16
2024-07-22Split up `visit_path` so `MutVisitor` has a `path_segment` method just like t...Oli Scherer-4/+13
2024-07-22Pass id and span to `visit_fn`, just like for the immutable visitorOli Scherer-13/+43
2024-07-22Make function items in mut visitors all go through the same visit_fn function...Oli Scherer-30/+52
2024-07-22Track visit_param_bound in mut visit just like in the immutable visitorOli Scherer-15/+15
2024-07-22Merge impl and trait item mut visitor methods to mirror immut visitorOli Scherer-7/+8
2024-07-17Rollup merge of #127806 - nnethercote:parser-improvements, r=spastorinoTrevor Gross-2/+1
2024-07-16Fix a bunch of sites that were walking instead of visiting, making it impossi...Oli Scherer-3/+3
2024-07-16Remove references to `maybe_whole_expr`.Nicholas Nethercote-2/+1
2024-07-13Rollup merge of #127558 - nnethercote:more-Attribute-cleanups, r=petrochenkovJubilee-77/+82
2024-07-10Make `visit_clobber`'s impl safeOli Scherer-14/+3
2024-07-10Add some comments.Nicholas Nethercote-1/+4
2024-07-10Factor out `AttrsTarget` flattening code.Nicholas Nethercote-64/+68
2024-07-10Rework `Attribute::get_tokens`.Nicholas Nethercote-17/+15
2024-07-07Rollup merge of #127308 - nnethercote:Attribute-cleanups, r=petrochenkovMatthias Krüger-52/+21
2024-07-07Add an size assertion.Nicholas Nethercote-0/+1
2024-07-07Rename some attribute types for consistency.Nicholas Nethercote-12/+12
2024-07-07Remove `HasSpan` trait.Nicholas Nethercote-37/+4
2024-07-07Rename `Attribute::tokens` (the inherent method).Nicholas Nethercote-3/+4
2024-07-05Rollup merge of #127368 - YohDeadfall:dots-in-docs, r=fmeaseMichael Goulet-32/+32
2024-07-05Added dots at the sentence ends of rustc AST docYoh Deadfall-32/+32
2024-07-05Auto merge of #127008 - Jules-Bertholet:tc-ergonomics, r=Nadrierilbors-0/+1
2024-07-03Rollup merge of #127092 - compiler-errors:rtn-dots-redux, r=estebankMatthias Krüger-2/+7
2024-07-03Rollup merge of #127233 - nnethercote:parser-cleanups, r=petrochenkovMatthias Krüger-37/+26
2024-07-02Rollup merge of #126883 - dtolnay:breakvalue, r=fmeaseMatthias Krüger-1/+78
2024-07-02Just `push` in `AttrTokenStream::to_token_trees`.Nicholas Nethercote-16/+12
2024-07-02Rename `TokenStream::new` argument.Nicholas Nethercote-2/+2
2024-07-02Change `AttrTokenStream::to_tokenstream` to `to_token_trees`.Nicholas Nethercote-22/+15
2024-07-01Parenthesize break values containing leading labelDavid Tolnay-1/+78
2024-06-28Change RTN to use .. againMichael Goulet-2/+7
2024-06-27Tighten spans for async blocksMichael Goulet-3/+7
2024-06-27Auto merge of #126993 - petrochenkov:atvisord3, r=BoxyUwUbors-286/+358
2024-06-27Rollup merge of #126928 - nnethercote:124141-pre, r=oli-obkJacob Pratt-2/+9
2024-06-27Implement TC's match ergonomics 2024 proposalJules Bertholet-0/+1
2024-06-26ast: Standardize visiting orderVadim Petrochenkov-286/+358
2024-06-26Rollup merge of #126724 - nnethercote:fix-parse_ty_bare_fn-span, r=compiler-e...Matthias Krüger-1/+2
2024-06-26Fix a span in `parse_ty_bare_fn`.Nicholas Nethercote-1/+2
2024-06-25Rollup merge of #126893 - dtolnay:prec, r=compiler-errorsMatthias Krüger-24/+21
2024-06-25Extra panic cases.Nicholas Nethercote-1/+8
2024-06-24ast: Standardize visiting order for attributes and node IDsVadim Petrochenkov-30/+30
2024-06-23Rename the 2 unambiguous precedence levels to PREC_UNAMBIGUOUSDavid Tolnay-24/+21
2024-06-23Unify the precedence level for PREC_POSTFIX and PREC_PARENDavid Tolnay-1/+1
2024-06-24Fix a typo in a comment.Nicholas Nethercote-1/+1
2024-06-23Rework pattern and expression nonterminal kinds.Nicholas Nethercote-29/+44
2024-06-21Rollup merge of #126767 - compiler-errors:static-foreign-item, r=spastorinoMatthias Krüger-45/+3
2024-06-21Rollup merge of #126700 - compiler-errors:fragment, r=fmeaseMatthias Krüger-5/+14
2024-06-20StaticForeignItem and StaticItem are the sameMichael Goulet-45/+3