rust/compiler/rustc_parse_format
Matthias Krüger a8d66d4670
Rollup merge of #150765 - ua/missing-colon, r=estebank
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.
2026-01-10 08:33:57 +01:00
..
src rustc_parse_format: improve error for missing : before ? in format args 2026-01-08 06:39:55 +05:30
Cargo.toml Update literal-escaper version to 0.0.7 2026-01-08 14:10:33 +01:00