rust/compiler/rustc_expand/src
bors fe896efa97 Auto merge of #114104 - oli-obk:syn2, r=compiler-errors
Lots of tiny incremental simplifications of `EmitterWriter` internals

ignore the first commit, it's https://github.com/rust-lang/rust/pull/114088 squashed and rebased, but it's needed to use to use `derive_setters`, as they need a newer `syn` version.

Then this PR starts out with removing many arguments that are almost always defaulted to `None` or `false` and replace them with builder methods that can set these fields in the few cases that want to set them.

After that it's one commit after the other that removes or merges things until everything becomes some very simple trait objects
2023-08-04 18:46:19 +00: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 internal_features lint 2023-08-03 14:50:50 +02: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.rs inline format!() args up to and including rustc_middle 2023-07-30 13:18:33 +02:00
proc_macro_server.rs inline format!() args up to and including rustc_middle 2023-07-30 13:18:33 +02:00
tests.rs Remove a bool for color in favor of the WriteColor trait wrapping colored and uncolored printing 2023-07-31 09:34:36 +00:00