]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/parser/struct-literal-in-if.stderr
Merge commit '54a20a02ecd0e1352a871aa0990bcc8b8b03173e' into clippyup
[rust.git] / src / test / ui / parser / struct-literal-in-if.stderr
index 851c495abb4b0cea865e2da2c1cbb624b5c00307..7a64a42e3c8aa13195ed5a57ad97d487cf463cc5 100644 (file)
@@ -6,7 +6,8 @@ LL |       if Foo {
 LL | |         x: 3
 LL | |     }.hi() {
    | |_____^
-help: surround the struct literal with parenthesis
+   |
+help: surround the struct literal with parentheses
    |
 LL |     if (Foo {
 LL |         x: 3