]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/terr-in-field.stderr
Remove E0308 note when primary label has all info
[rust.git] / src / test / ui / terr-in-field.stderr
index 5a9c0898aad184b24c50407d793f00467a6fa05a..5c6859a0efe98a353db191d68ea39f93010dd1b4 100644 (file)
@@ -1,11 +1,8 @@
 error[E0308]: mismatched types
   --> $DIR/terr-in-field.rs:13:14
    |
-LL |     want_foo(b); //~  ERROR mismatched types
+LL |     want_foo(b);
    |              ^ expected struct `Foo`, found struct `Bar`
-   |
-   = note: expected type `Foo`
-              found type `Bar`
 
 error: aborting due to previous error