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