]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/error-codes/E0070.stderr
Remove E0308 note when primary label has all info
[rust.git] / src / test / ui / error-codes / E0070.stderr
index 6592ad328be5cc7b5efcc7d8e7e6ad5621d42591..779b6ea924c721b614b64f2233d29a00297d3bfb 100644 (file)
@@ -15,9 +15,6 @@ error[E0308]: mismatched types
    |
 LL |     some_other_func() = 4;
    |                         ^ expected (), found integer
-   |
-   = note: expected type `()`
-              found type `{integer}`
 
 error[E0070]: invalid left-hand side expression
   --> $DIR/E0070.rs:8:5
@@ -27,5 +24,5 @@ LL |     some_other_func() = 4;
 
 error: aborting due to 4 previous errors
 
-Some errors occurred: E0070, E0308.
+Some errors have detailed explanations: E0070, E0308.
 For more information about an error, try `rustc --explain E0070`.