about summary refs log tree commit diff
path: root/tests/ui/fmt/format-string-error-2.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/fmt/format-string-error-2.stderr')
-rw-r--r--tests/ui/fmt/format-string-error-2.stderr5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/ui/fmt/format-string-error-2.stderr b/tests/ui/fmt/format-string-error-2.stderr
index a2d142e0bab..6d8c34fdb70 100644
--- a/tests/ui/fmt/format-string-error-2.stderr
+++ b/tests/ui/fmt/format-string-error-2.stderr
@@ -6,8 +6,9 @@ LL |     println!("\x7B}\u8 {", 1);
    |
 help: format of unicode escape sequences uses braces
    |
-LL |     println!("\x7B}\u{8} {", 1);
-   |                    ~~~~~
+LL -     println!("\x7B}\u8 {", 1);
+LL +     println!("\x7B}\u{8} {", 1);
+   |
 
 error: invalid format string: expected `}`, found `a`
   --> $DIR/format-string-error-2.rs:5:5