]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/struct-literal-variant-in-if.stderr
Merge commit '3e7c6dec244539970b593824334876f8b6ed0b18' into clippyup
[rust.git] / src / test / ui / struct-literal-variant-in-if.stderr
index 4cd1169cc1bb81b261620a2fc56aa17c4910b0ce..a2252d4e4d2822943a42d3e28d5b2366f8ff1d23 100644 (file)
@@ -46,7 +46,7 @@ error[E0423]: expected value, found struct variant `E::V`
   --> $DIR/struct-literal-variant-in-if.rs:10:13
    |
 LL |     if x == E::V { field } {}
-   |             ^^^^
+   |             ^^^^ not a value
    |
 help: surround the struct literal with parentheses
    |