rust/compiler/rustc_expand/src
Nicholas Nethercote d75ee2a6bc Remove MacDelimiter.
It's the same as `Delimiter`, minus the `Invisible` variant. I'm
generally in favour of using types to make impossible states
unrepresentable, but this one feels very low-value, and the conversions
between the two types are annoying and confusing.

Look at the change in `src/tools/rustfmt/src/expr.rs` for an example:
the old code converted from `MacDelimiter` to `Delimiter` and back
again, for no good reason. This suggests the author was confused about
the types.
2023-08-03 09:03:30 +10:00
..
mbe Auto merge of #114273 - nnethercote:move-doc-comment-desugaring, r=petrochenkov 2023-08-01 21:27:48 +00:00
mut_visit rustc_ast: Turn MutVisitor::token_visiting_enabled into a constant 2021-10-18 00:23:24 +03:00
parse Auto merge of #114115 - nnethercote:less-token-tree-cloning, r=petrochenkov 2023-07-28 01:21:27 +00: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 Parse generic const items 2023-07-28 22:21:33 +02:00
config.rs inline format!() args up to and including rustc_middle 2023-07-30 13:18:33 +02:00
errors.rs Fix static string lints 2023-04-25 18:59:55 +01:00
expand.rs inline format!() args up to and including rustc_middle 2023-07-30 13:18:33 +02: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 Remove MacDelimiter. 2023-08-03 09:03:30 +10:00
proc_macro_server.rs inline format!() args up to and including rustc_middle 2023-07-30 13:18:33 +02:00
proc_macro.rs inline format!() args up to and including rustc_middle 2023-07-30 13:18:33 +02:00
tests.rs Squelch a noisy rustc_expand unittest 2023-07-26 08:12:08 -07:00