fork/rust
git clone https://git.julia.blue/fork/rust
f3e1a954d2e
1.41.1
1error[E0408]: variable `a` is not bound in all patterns 2 --> $DIR/resolve-inconsistent-names.rs:13:12 3 | 4LL | a | b => {} 5 | - ^ pattern doesn't bind `a` 6 | | 7 | variable not in all patterns 8 9error[E0408]: variable `b` is not bound in all patterns 10 --> $DIR/resolve-inconsistent-names.rs:13:8 11 | 12LL | a | b => {} 13 | ^ - variable not in all patterns 14 | | 15 | pattern doesn't bind `b` 16 17error[E0408]: variable `A` is not bound in all patterns 18 --> $DIR/resolve-inconsistent-names.rs:19:18 19 | 20LL | (A, B) | (ref B, c) | (c, A) => () 21 | - ^^^^^^^^^^ - variable not in all patterns 22 | | | 23 | | pattern doesn't bind `A` 24 | variable not in all patterns 25 | 26help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::A` 27 --> $DIR/resolve-inconsistent-names.rs:19:10 28 | 29LL | (A, B) | (ref B, c) | (c, A) => () 30 | ^ 31 32error[E0408]: variable `B` is not bound in all patterns 33 --> $DIR/resolve-inconsistent-names.rs:19:31 34 | 35LL | (A, B) | (ref B, c) | (c, A) => () 36 | - - ^^^^^^ pattern doesn't bind `B` 37 | | | 38 | | variable not in all patterns 39 | variable not in all patterns 40 41error[E0408]: variable `c` is not bound in all patterns 42 --> $DIR/resolve-inconsistent-names.rs:19:9 43 | 44LL | (A, B) | (ref B, c) | (c, A) => () 45 | ^^^^^^ - - variable not in all patterns 46 | | | 47 | | variable not in all patterns 48 | pattern doesn't bind `c` 49 50error[E0409]: variable `B` is bound in inconsistent ways within the same match arm 51 --> $DIR/resolve-inconsistent-names.rs:19:23 52 | 53LL | (A, B) | (ref B, c) | (c, A) => () 54 | - ^ bound in different ways 55 | | 56 | first binding 57 58error[E0408]: variable `CONST1` is not bound in all patterns 59 --> $DIR/resolve-inconsistent-names.rs:30:23 60 | 61LL | (CONST1, _) | (_, Const2) => () 62 | ------ ^^^^^^^^^^^ pattern doesn't bind `CONST1` 63 | | 64 | variable not in all patterns 65 | 66help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::CONST1` 67 --> $DIR/resolve-inconsistent-names.rs:30:10 68 | 69LL | (CONST1, _) | (_, Const2) => () 70 | ^^^^^^ 71 72error[E0408]: variable `Const2` is not bound in all patterns 73 --> $DIR/resolve-inconsistent-names.rs:30:9 74 | 75LL | (CONST1, _) | (_, Const2) => () 76 | ^^^^^^^^^^^ ------ variable not in all patterns 77 | | 78 | pattern doesn't bind `Const2` 79 | 80help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::Const2` 81 --> $DIR/resolve-inconsistent-names.rs:30:27 82 | 83LL | (CONST1, _) | (_, Const2) => () 84 | ^^^^^^ 85 86error[E0308]: mismatched types 87 --> $DIR/resolve-inconsistent-names.rs:19:19 88 | 89LL | (A, B) | (ref B, c) | (c, A) => () 90 | ^^^^^ expected enum `E`, found `&E` 91 92error: aborting due to 9 previous errors 93 94Some errors have detailed explanations: E0308, E0408, E0409. 95For more information about an error, try `rustc --explain E0308`.