1 error[E0308]: mismatched types
2 --> $DIR/mut-pattern-mismatched.rs:6:10
5 | ^^ types differ in mutability
7 = note: expected mutable reference `&mut {integer}`
10 error[E0308]: mismatched types
11 --> $DIR/mut-pattern-mismatched.rs:15:9
14 | ^^^^^^ types differ in mutability
16 = note: expected reference `&{integer}`
17 found mutable reference `&mut _`
19 error: aborting due to 2 previous errors
21 For more information about this error, try `rustc --explain E0308`.