]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/if/if-without-else-result.stderr
Remove E0308 note when primary label has all info
[rust.git] / src / test / ui / if / if-without-else-result.stderr
index ddb013ab711fad05b9059373b8346a849e0de772..b2c700d3c8febd6e96a005e46d7b480006f94e5f 100644 (file)
@@ -7,8 +7,6 @@ LL |     let a = if true { true };
    |             |         found here
    |             expected (), found bool
    |
-   = note: expected type `()`
-              found type `bool`
    = note: `if` expressions without `else` evaluate to `()`
    = help: consider adding an `else` block that evaluates to the expected type