]> 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 210b4f6be63d07e19ee95102e611268f0370ab56..8e1873c06593d9111c64528945236b934d0351b5 100644 (file)
@@ -3,9 +3,6 @@ error[E0308]: mismatched types
    |
 LL |         FOO => {},
    |         ^^^ expected &Foo, found struct `Foo`
-   |
-   = note: expected type `&Foo`
-              found type `Foo`
 
 error: aborting due to previous error