Skip to content

Commit 6f9b3b5

Browse files
committed
libsyntax: Don't accept :? as a format specifier.
1 parent 3410c52 commit 6f9b3b5

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/libsyntax/ext/format.rs

-1
Original file line numberDiff line numberDiff line change
@@ -668,7 +668,6 @@ impl<'a, 'b> Context<'a, 'b> {
668668
Known(ref tyname) => {
669669
match tyname.as_slice() {
670670
"" => ("std", "secret_show"),
671-
"?" => ("debug", "secret_poly"),
672671
"b" => ("std", "secret_bool"),
673672
"c" => ("std", "secret_char"),
674673
"d" | "i" => ("std", "secret_signed"),

0 commit comments

Comments
 (0)