rust/compiler/rustc_expand/src
Nicholas Nethercote 4ebf2be8bb Remove Iterator impl for TokenTreeCursor.
This is surprising, but the new comment explains why. It's a logical
conclusion in the drive to avoid `TokenTree` clones.

`TokenTreeCursor` is now only used within `Parser`. It's still needed
due to `replace_prev_and_rewind`.
2023-07-27 11:59:03 +10:00
..
mbe Avoid some token tree cloning in decl macro parsing. 2023-07-27 11:58:42 +10:00
mut_visit rustc_ast: Turn MutVisitor::token_visiting_enabled into a constant 2021-10-18 00:23:24 +03:00
parse Replace into_trees with trees in a test. 2023-07-27 10:40:39 +10:00
tokenstream Remove TokenStreamBuilder. 2022-10-05 12:42:54 +11:00
base.rs Don't translate compiler-internal bug messages 2023-07-20 09:51:47 +00:00
build.rs Rename ast::Static to ast::StaticItem to match ast::ConstItem 2023-04-04 15:34:40 +00:00
config.rs Remove Iterator impl for TokenTreeCursor. 2023-07-27 11:59:03 +10:00
errors.rs Fix static string lints 2023-04-25 18:59:55 +01:00
expand.rs Re-format let-else per rustfmt update 2023-07-12 21:49:27 -04:00
lib.rs Add rustc_fluent_macro to decouple fluent from rustc_macros 2023-04-18 18:56:22 +00:00
mbe.rs Move macro_rules diagnostics to diagnostics module 2022-11-20 13:06:44 +01:00
module.rs Use ThinVec in a few more AST types. 2023-02-21 11:51:56 +11:00
placeholders.rs Rip it out 2023-05-01 16:15:13 +08:00
proc_macro_server.rs Remove Iterator impl for TokenTreeCursor. 2023-07-27 11:59:03 +10:00
proc_macro.rs Restrict From<S> for {D,Subd}iagnosticMessage. 2023-05-03 08:44:39 +10:00
tests.rs On nightly, dump ICE backtraces to disk 2023-07-19 14:10:07 +00:00