about summary refs log tree commit diff
path: root/tests/ui/fmt/format-string-wrong-order.rs
diff options
context:
space:
mode:
authorLieselotte <52315535+she3py@users.noreply.github.com>2024-10-14 23:22:51 +0200
committerLieselotte <52315535+she3py@users.noreply.github.com>2024-10-14 23:22:51 +0200
commitdda3066805ef0a0ad5f2d0d2cdb6bc0b66d8c19b (patch)
treeae5f32f841e40f05c401989c2f9ca7465714a7b9 /tests/ui/fmt/format-string-wrong-order.rs
parent9322d183f45e0fd5a509820874cc5ff27744a479 (diff)
downloadrust-dda3066805ef0a0ad5f2d0d2cdb6bc0b66d8c19b.tar.gz
rust-dda3066805ef0a0ad5f2d0d2cdb6bc0b66d8c19b.zip
Remove `'apostrophes'` from `rustc_parse_format`
Diffstat (limited to 'tests/ui/fmt/format-string-wrong-order.rs')
-rw-r--r--tests/ui/fmt/format-string-wrong-order.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/fmt/format-string-wrong-order.rs b/tests/ui/fmt/format-string-wrong-order.rs
index da775be3ffd..891279b97e4 100644
--- a/tests/ui/fmt/format-string-wrong-order.rs
+++ b/tests/ui/fmt/format-string-wrong-order.rs
@@ -7,9 +7,9 @@ fn main() {
     format!("{?:?}", bar);
     //~^ ERROR invalid format string: expected format parameter to occur after `:`
     format!("{??}", bar);
-    //~^ ERROR invalid format string: expected `'}'`, found `'?'`
+    //~^ ERROR invalid format string: expected `}`, found `?`
     format!("{?;bar}");
-    //~^ ERROR invalid format string: expected `'}'`, found `'?'`
+    //~^ ERROR invalid format string: expected `}`, found `?`
     format!("{?:#?}", bar);
     //~^ ERROR invalid format string: expected format parameter to occur after `:`
     format!("Hello {<5:}!", "x");