1 error[E0308]: mismatched types
2 --> $DIR/let-else-deref-coercion.rs:37:13
4 LL | let Bar::Present(z) = self else {
5 | ^^^^^^^^^^^^^^^ ---- this expression has type `&mut Foo`
7 | expected struct `Foo`, found enum `Bar`
9 error[E0308]: mismatched types
10 --> $DIR/let-else-deref-coercion.rs:68:13
13 | ^^^^^^ - this expression has type `&mut irrefutable::Foo`
15 | expected struct `irrefutable::Foo`, found struct `irrefutable::Bar`
17 error: aborting due to 2 previous errors
19 For more information about this error, try `rustc --explain E0308`.