fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0408]: variable `b` is not bound in all patterns 2 --> $DIR/issue-39698.rs:10:9 3 | 4LL | T::T1(a, d) | T::T2(d, b) | T::T3(c) | T::T4(a) => { println!("{:?}", a); } 5 | ^^^^^^^^^^^ - ^^^^^^^^ ^^^^^^^^ pattern doesn't bind `b` 6 | | | | 7 | | | pattern doesn't bind `b` 8 | | variable not in all patterns 9 | pattern doesn't bind `b` 10 11error[E0408]: variable `c` is not bound in all patterns 12 --> $DIR/issue-39698.rs:10:9 13 | 14LL | T::T1(a, d) | T::T2(d, b) | T::T3(c) | T::T4(a) => { println!("{:?}", a); } 15 | ^^^^^^^^^^^ ^^^^^^^^^^^ - ^^^^^^^^ pattern doesn't bind `c` 16 | | | | 17 | | | variable not in all patterns 18 | | pattern doesn't bind `c` 19 | pattern doesn't bind `c` 20 21error[E0408]: variable `a` is not bound in all patterns 22 --> $DIR/issue-39698.rs:10:23 23 | 24LL | T::T1(a, d) | T::T2(d, b) | T::T3(c) | T::T4(a) => { println!("{:?}", a); } 25 | - ^^^^^^^^^^^ ^^^^^^^^ - variable not in all patterns 26 | | | | 27 | | | pattern doesn't bind `a` 28 | | pattern doesn't bind `a` 29 | variable not in all patterns 30 31error[E0408]: variable `d` is not bound in all patterns 32 --> $DIR/issue-39698.rs:10:37 33 | 34LL | T::T1(a, d) | T::T2(d, b) | T::T3(c) | T::T4(a) => { println!("{:?}", a); } 35 | - - ^^^^^^^^ ^^^^^^^^ pattern doesn't bind `d` 36 | | | | 37 | | | pattern doesn't bind `d` 38 | | variable not in all patterns 39 | variable not in all patterns 40 41error: aborting due to 4 previous errors 42 43For more information about this error, try `rustc --explain E0408`.