]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/match/match-tag-unary.stderr
Remove E0308 note when primary label has all info
[rust.git] / src / test / ui / match / match-tag-unary.stderr
index da599c374074022061d205b65b433a7e0f280a26..db5dcd2be3b51345438f485b447903373aa2ac0f 100644 (file)
@@ -5,9 +5,6 @@ LL | fn main() { let x: A = A::A(0); match x { B::B(y) => { } } }
    |                                       -   ^^^^^^^ expected enum `A`, found enum `B`
    |                                       |
    |                                       this match expression has type `A`
-   |
-   = note: expected type `A`
-              found type `B`
 
 error: aborting due to previous error