rust/compiler/rustc_parse_format
Usman Akinyemi b0e65da2af rustc_parse_format: improve error for missing : before ? in format args
Detect the `{ident?}` pattern where `?` is immediately followed by `}` and emit
a clearer diagnostic explaining that `:` is required for Debug formatting.
This avoids falling back to a generic “invalid format string” error and adds
a targeted UI test for the case.

Signed-off-by: Usman Akinyemi <usmanakinyemi202@gmail.com>
2026-01-08 06:39:55 +05:30
..
src rustc_parse_format: improve error for missing : before ? in format args 2026-01-08 06:39:55 +05:30
Cargo.toml Revert introduction of [workspace.dependencies]. 2025-09-02 19:12:54 +10:00