]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/mismatched_types/for-loop-has-unit-body.stderr
Remove E0308 note when primary label has all info
[rust.git] / src / test / ui / mismatched_types / for-loop-has-unit-body.stderr
index 25203d6f35d28d01eac2552afbe95c843961d12e..97b1139abd5996856d1e14160bad6e860592d4e1 100644 (file)
@@ -1,11 +1,8 @@
 error[E0308]: mismatched types
   --> $DIR/for-loop-has-unit-body.rs:3:9
    |
-LL |         x //~ ERROR mismatched types
+LL |         x
    |         ^ expected (), found integer
-   |
-   = note: expected type `()`
-              found type `{integer}`
 
 error: aborting due to previous error