]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/rfc-2005-default-binding-mode/const.stderr
Remove E0308 note when primary label has all info
[rust.git] / src / test / ui / rfc-2005-default-binding-mode / const.stderr
index 7ce8a3256327eb87c9488fb5c78e642c3919fa25..8e1873c06593d9111c64528945236b934d0351b5 100644 (file)
@@ -1,11 +1,8 @@
 error[E0308]: mismatched types
   --> $DIR/const.rs:14:9
    |
-LL |         FOO => {}, //~ ERROR mismatched types
+LL |         FOO => {},
    |         ^^^ expected &Foo, found struct `Foo`
-   |
-   = note: expected type `&Foo`
-              found type `Foo`
 
 error: aborting due to previous error