diff options
| author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2022-08-29 16:49:45 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-29 16:49:45 +0530 |
| commit | 0b6faca67057ceb99ee3af342d4ba6f1ac407fde (patch) | |
| tree | 2ca8afd1a123f358dc5938f8305289ec24add362 /compiler/rustc_interface/src/interface.rs | |
| parent | 141728fc61254fafe14dbe8387ec08c5ecc046a9 (diff) | |
| parent | aebad394142aba6f5dc11a1fad5731e12c351c00 (diff) | |
| download | rust-0b6faca67057ceb99ee3af342d4ba6f1ac407fde.tar.gz rust-0b6faca67057ceb99ee3af342d4ba6f1ac407fde.zip | |
Rollup merge of #101000 - m-ou-se:count-is-star, r=nagisa
Separate CountIsStar from CountIsParam in rustc_parse_format.
`rustc_parse_format`'s parser would result in the exact same output for `{:.*}` and `{:.0$}`, making it hard for diagnostics to handle these cases properly.
This splits those cases by adding a new `CountIsStar` enum variant.
This fixes #100995
Prerequisite for https://github.com/rust-lang/rust/pull/100996
Diffstat (limited to 'compiler/rustc_interface/src/interface.rs')
0 files changed, 0 insertions, 0 deletions
