]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/mismatched_types/E0409.stderr
Remove E0308 note when primary label has all info
[rust.git] / src / test / ui / mismatched_types / E0409.stderr
index 93115bfb998e40ad4429bd229d2956cb378fd695..5a961f8948b922e2b561651a18901a65a45e7e03 100644 (file)
@@ -11,11 +11,8 @@ error[E0308]: mismatched types
    |
 LL |         (0, ref y) | (y, 0) => {}
    |                       ^ expected &{integer}, found integer
-   |
-   = note: expected type `&{integer}`
-              found type `{integer}`
 
 error: aborting due to 2 previous errors
 
-Some errors occurred: E0308, E0409.
+Some errors have detailed explanations: E0308, E0409.
 For more information about an error, try `rustc --explain E0308`.