diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2023-08-02 09:56:26 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2023-08-03 09:03:30 +1000 |
| commit | d165d4ad3840ae14ddd3f62597b5a2a01adc1e27 (patch) | |
| tree | f0b52a56c527f5ac97a9f3d3587dd6d90f15508f /compiler/rustc_llvm/llvm-wrapper/Linker.cpp | |
| parent | 4eeecaed1d53b7bf8d650a5a513ea71f684dd145 (diff) | |
| download | rust-d165d4ad3840ae14ddd3f62597b5a2a01adc1e27.tar.gz rust-d165d4ad3840ae14ddd3f62597b5a2a01adc1e27.zip | |
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.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/Linker.cpp')
0 files changed, 0 insertions, 0 deletions
