1 error[E0308]: mismatched types
2 --> $DIR/let-else-binding-explicit-mut-annotated.rs:9:37
4 LL | let Some(n): &mut Option<i32> = &&Some(5i32) else { return };
5 | ---------------- ^^^^^^^^^^^^ types differ in mutability
9 = note: expected mutable reference `&mut Option<i32>`
10 found reference `&&Option<i32>`
12 error[E0308]: mismatched types
13 --> $DIR/let-else-binding-explicit-mut-annotated.rs:13:37
15 LL | let Some(n): &mut Option<i32> = &&mut Some(5i32) else { return };
16 | ---------------- ^^^^^^^^^^^^^^^^ types differ in mutability
18 | expected due to this
20 = note: expected mutable reference `&mut Option<i32>`
21 found reference `&&mut Option<i32>`
23 error: aborting due to 2 previous errors
25 For more information about this error, try `rustc --explain E0308`.