]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/match/match-tag-nullary.stderr
New upstream version 1.41.1+dfsg1
[rustc.git] / src / test / ui / match / match-tag-nullary.stderr
index 902ccc94dde23c644445374e50b5988e0bbf4783..4b6260b2199e1a2e3a161096a377999e6c2171f8 100644 (file)
@@ -3,9 +3,6 @@ error[E0308]: mismatched types
    |
 LL | fn main() { let x: A = A::A; match x { B::B => { } } }
    |                                        ^^^^ expected enum `A`, found enum `B`
-   |
-   = note: expected type `A`
-              found type `B`
 
 error: aborting due to previous error