rust/compiler/rustc_ast_pretty
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
..
src Remove MacDelimiter. 2023-08-03 09:03:30 +10:00
Cargo.toml Use ThinVec in ast::Generics and related types. 2023-02-21 11:51:55 +11:00