rust/compiler/rustc_ast/src
Trevor Gross b9e9be38c0 mbe: Clean up code with non-optional NonterminalKind
Since [1], the fragment specifier is unconditionally required in all
editions. This means `NonTerminalKind` no longer needs to be optional,
as we can reject this code during the expansion of `macro_rules!` rather
than handling it throughout the code. Do this cleanup here.

[1]: https://github.com/rust-lang/rust/pull/128425
2025-06-24 04:37:36 -04:00
..
attr Reduce P<T> to a typedef of Box<T>. 2025-05-27 13:29:24 +10:00
expand Rollup merge of #139351 - EnzymeAD:autodiff-batching2, r=oli-obk 2025-04-17 21:53:23 +02:00
util Replace rustc_lexer/unescape with rustc-literal-escaper crate 2025-04-04 14:44:45 +02:00
ast.rs Rollup merge of #142371 - fee1-dead-contrib:push-xqlkumzurkus, r=petrochenkov 2025-06-17 23:19:34 +02:00
ast_traits.rs remove visit_clobber and move DummyAstNode to rustc_expand 2025-05-29 12:46:26 +08:00
entry.rs remove support for the #[start] attribute 2025-01-21 06:59:15 -07:00
format.rs Limit formatting width and precision to 16 bits. 2025-03-10 12:20:05 +01:00
lib.rs introduce common macro for MutVisitor and Visitor to dedup code 2025-05-19 21:21:03 +08:00
mut_visit.rs avoid &mut P<T> in visit_expr etc methods 2025-06-12 17:36:03 +08:00
node_id.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
ptr.rs Reduce P<T> to a typedef of Box<T>. 2025-05-27 13:29:24 +10:00
token.rs mbe: Clean up code with non-optional NonterminalKind 2025-06-24 04:37:36 -04:00
tokenstream.rs remove eq_unspanned from TokenStream 2025-05-26 17:02:51 +08:00
visit.rs Fix some unused fields in AST visitor 2025-06-16 18:23:31 +00:00