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