2 A(isize), B(isize), C(isize)
7 Opts::A(ref i) | Opts::B(i) => {}
8 //~^ ERROR variable `i` is bound in inconsistent ways within the same match arm
9 //~^^ ERROR mismatched types
14 fn matcher2(x: Opts) {
16 Opts::A(ref i) | Opts::B(i) => {}
17 //~^ ERROR variable `i` is bound in inconsistent ways within the same match arm
18 //~^^ ERROR mismatched types
23 fn matcher4(x: Opts) {
25 Opts::A(ref mut i) | Opts::B(ref i) => {}
26 //~^ ERROR variable `i` is bound in inconsistent ways within the same match arm
27 //~^^ ERROR mismatched types
33 fn matcher5(x: Opts) {
35 Opts::A(ref i) | Opts::B(ref i) => {}