]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/issues/issue-35241.stderr
point at private fields in struct literal
[rust.git] / src / test / ui / issues / issue-35241.stderr
index b6045c993a9585f14d5ecb30cbf47e6ca88df249..4e89f59afbe426784cae90b43ab82679c757edec 100644 (file)
@@ -14,7 +14,7 @@ LL | fn test() -> Foo { Foo }
 help: use parentheses to instantiate this tuple struct
    |
 LL | fn test() -> Foo { Foo(_) }
-   |                       ^^^
+   |                       +++
 
 error: aborting due to previous error