]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/parser/struct-literal-in-while.stderr
Merge commit '7b73b60faca71d01d900e49831fcb84553e93019' into sync-rustfmt
[rust.git] / src / test / ui / parser / struct-literal-in-while.stderr
index a14df3a220e752251e8b0af11b1f54e460a0508a..17e9277e07413b0425eb158e204c64a0d0720992 100644 (file)
@@ -9,9 +9,9 @@ LL | |     }.hi() {
    |
 help: surround the struct literal with parentheses
    |
-LL |     while (Foo {
+LL ~     while (Foo {
 LL |         x: 3
-LL |     }).hi() {
+LL ~     }).hi() {
    |
 
 error: aborting due to previous error