rust/compiler/rustc_parse/src/parser
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
..
attr.rs Move TokenCursor::num_next_calls into Parser and rename it. 2023-08-02 10:07:18 +10:00
attr_wrapper.rs Move TokenCursor::break_last_token into Parser. 2023-08-02 10:11:41 +10:00
diagnostics.rs inline format!() args up to and including rustc_middle 2023-07-30 13:18:33 +02:00
expr.rs Remove MacDelimiter. 2023-08-03 09:03:30 +10:00
generics.rs fix couple of clippy findings: 2023-07-23 10:50:14 +02:00
item.rs Remove MacDelimiter. 2023-08-03 09:03:30 +10:00
mod.rs Remove MacDelimiter. 2023-08-03 09:03:30 +10:00
nonterminal.rs use matches! macro in more places 2023-04-16 12:08:30 +02:00
pat.rs inline format!() args up to and including rustc_middle 2023-07-30 13:18:33 +02:00
path.rs inline format!() args up to and including rustc_middle 2023-07-30 13:18:33 +02:00
stmt.rs Remove MacDelimiter. 2023-08-03 09:03:30 +10:00
ty.rs Make it clearer that edition functions are >=, not == 2023-07-19 16:38:35 +00:00