rust/compiler/rustc_builtin_macros/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
..
assert Remove MacDelimiter. 2023-08-03 09:03:30 +10:00
deriving inline format!() args up to and including rustc_middle 2023-07-30 13:18:33 +02:00
format_foreign
alloc_error_handler.rs Revert "Remove #[alloc_error_handler] from the compiler and library" 2023-04-25 00:08:35 +02:00
asm.rs inline format!() args up to and including rustc_middle 2023-07-30 13:18:33 +02:00
assert.rs Remove MacDelimiter. 2023-08-03 09:03:30 +10:00
cfg_accessible.rs Migrate most of rustc_builtin_macros to diagnostic impls 2023-04-10 21:16:53 +01:00
cfg_eval.rs Use Option::is_some_and and Result::is_ok_and in the compiler 2023-05-24 14:20:41 +00:00
cfg.rs Migrate most of rustc_builtin_macros to diagnostic impls 2023-04-10 21:16:53 +01:00
cmdline_attrs.rs Migrate some rustc_builtin_macros to SessionDiagnostic 2023-06-25 01:32:30 +08:00
compile_error.rs Use Cow in {D,Subd}iagnosticMessage. 2023-05-29 09:23:43 +10:00
concat_bytes.rs Migrate some rustc_builtin_macros to SessionDiagnostic 2023-06-25 01:32:30 +08:00
concat_idents.rs refactor: use by-ref TokenTree iterator to avoid a few clones 2023-05-11 21:59:38 -05:00
concat.rs Migrate some rustc_builtin_macros to SessionDiagnostic 2023-06-25 01:32:30 +08:00
derive.rs use ErrorGuaranteed instead of booleans 2023-06-19 21:34:59 +02:00
edition_panic.rs Remove MacDelimiter. 2023-08-03 09:03:30 +10:00
env.rs builtin_macros: raw str in diagnostic output 2023-07-25 11:12:52 +01:00
errors.rs builtin_macros: raw str in diagnostic output 2023-07-25 11:12:52 +01:00
format_foreign.rs inline format!() args up to and including rustc_middle 2023-07-30 13:18:33 +02:00
format.rs inline format!() args up to and including rustc_middle 2023-07-30 13:18:33 +02:00
global_allocator.rs inline format!() args up to and including rustc_middle 2023-07-30 13:18:33 +02:00
lib.rs Add derive for core::marker::ConstParamTy 2023-05-16 20:09:25 +02:00
log_syntax.rs
proc_macro_harness.rs inline format!() args up to and including rustc_middle 2023-07-30 13:18:33 +02:00
source_util.rs inline format!() args up to and including rustc_middle 2023-07-30 13:18:33 +02:00
standard_library_imports.rs Hide compiler_builtins in the prelude 2023-07-14 16:53:36 +01:00
test_harness.rs Migrate some rustc_builtin_macros to SessionDiagnostic 2023-06-25 01:32:30 +08:00
test.rs Parse generic const items 2023-07-28 22:21:33 +02:00
trace_macros.rs Migrate some rustc_builtin_macros to SessionDiagnostic 2023-06-25 01:32:30 +08:00
type_ascribe.rs
util.rs rustc: Remove unused Session argument from some attribute functions 2023-03-22 13:55:55 +04:00