fork/rust
git clone https://git.julia.blue/fork/rust
b8cedc00407
1.42.0
1error[E0408]: variable `beta` is not bound in all patterns 2 --> $DIR/missing-bindings.rs:22:9 3 | 4LL | let alpha | beta | charlie = alpha; 5 | ^^^^^ ---- ^^^^^^^ pattern doesn't bind `beta` 6 | | | 7 | | variable not in all patterns 8 | pattern doesn't bind `beta` 9 10error[E0408]: variable `beta` is not bound in all patterns 11 --> $DIR/missing-bindings.rs:24:14 12 | 13LL | Some(alpha | beta) => {} 14 | ^^^^^ ---- variable not in all patterns 15 | | 16 | pattern doesn't bind `beta` 17 18error[E0408]: variable `a` is not bound in all patterns 19 --> $DIR/missing-bindings.rs:36:19 20 | 21LL | let A(a, _) | _ = X; 22 | - ^ pattern doesn't bind `a` 23 | | 24 | variable not in all patterns 25 26error[E0408]: variable `a` is not bound in all patterns 27 --> $DIR/missing-bindings.rs:37:9 28 | 29LL | let _ | B(a) = X; 30 | ^ - variable not in all patterns 31 | | 32 | pattern doesn't bind `a` 33 34error[E0408]: variable `a` is not bound in all patterns 35 --> $DIR/missing-bindings.rs:38:9 36 | 37LL | let A(..) | B(a) = X; 38 | ^^^^^ - variable not in all patterns 39 | | 40 | pattern doesn't bind `a` 41 42error[E0408]: variable `a` is not bound in all patterns 43 --> $DIR/missing-bindings.rs:39:19 44 | 45LL | let A(a, _) | B(_) = X; 46 | - ^^^^ pattern doesn't bind `a` 47 | | 48 | variable not in all patterns 49 50error[E0408]: variable `a` is not bound in all patterns 51 --> $DIR/missing-bindings.rs:40:19 52 | 53LL | let A(_, a) | B(_) = X; 54 | - ^^^^ pattern doesn't bind `a` 55 | | 56 | variable not in all patterns 57 58error[E0408]: variable `b` is not bound in all patterns 59 --> $DIR/missing-bindings.rs:41:19 60 | 61LL | let A(a, b) | B(a) = X; 62 | - ^^^^ pattern doesn't bind `b` 63 | | 64 | variable not in all patterns 65 66error[E0408]: variable `a` is not bound in all patterns 67 --> $DIR/missing-bindings.rs:45:9 68 | 69LL | let A(A(..) | B(_), _) | B(a) = Y; 70 | ^^^^^^^^^^^^^^^^^^ - variable not in all patterns 71 | | 72 | pattern doesn't bind `a` 73 74error[E0408]: variable `a` is not bound in all patterns 75 --> $DIR/missing-bindings.rs:46:11 76 | 77LL | let A(A(..) | B(a), _) | B(A(a, _) | B(a)) = Y; 78 | ^^^^^ - variable not in all patterns 79 | | 80 | pattern doesn't bind `a` 81 82error[E0408]: variable `a` is not bound in all patterns 83 --> $DIR/missing-bindings.rs:48:21 84 | 85LL | let A(A(a, b) | B(c), d) | B(e) = Y; 86 | - ^^^^ pattern doesn't bind `a` 87 | | 88 | variable not in all patterns 89 90error[E0408]: variable `b` is not bound in all patterns 91 --> $DIR/missing-bindings.rs:48:21 92 | 93LL | let A(A(a, b) | B(c), d) | B(e) = Y; 94 | - ^^^^ pattern doesn't bind `b` 95 | | 96 | variable not in all patterns 97 98error[E0408]: variable `c` is not bound in all patterns 99 --> $DIR/missing-bindings.rs:48:11 100 | 101LL | let A(A(a, b) | B(c), d) | B(e) = Y; 102 | ^^^^^^^ - variable not in all patterns 103 | | 104 | pattern doesn't bind `c` 105 106error[E0408]: variable `a` is not bound in all patterns 107 --> $DIR/missing-bindings.rs:48:32 108 | 109LL | let A(A(a, b) | B(c), d) | B(e) = Y; 110 | - ^^^^ pattern doesn't bind `a` 111 | | 112 | variable not in all patterns 113 114error[E0408]: variable `b` is not bound in all patterns 115 --> $DIR/missing-bindings.rs:48:32 116 | 117LL | let A(A(a, b) | B(c), d) | B(e) = Y; 118 | - ^^^^ pattern doesn't bind `b` 119 | | 120 | variable not in all patterns 121 122error[E0408]: variable `c` is not bound in all patterns 123 --> $DIR/missing-bindings.rs:48:32 124 | 125LL | let A(A(a, b) | B(c), d) | B(e) = Y; 126 | - ^^^^ pattern doesn't bind `c` 127 | | 128 | variable not in all patterns 129 130error[E0408]: variable `d` is not bound in all patterns 131 --> $DIR/missing-bindings.rs:48:32 132 | 133LL | let A(A(a, b) | B(c), d) | B(e) = Y; 134 | - ^^^^ pattern doesn't bind `d` 135 | | 136 | variable not in all patterns 137 138error[E0408]: variable `e` is not bound in all patterns 139 --> $DIR/missing-bindings.rs:48:9 140 | 141LL | let A(A(a, b) | B(c), d) | B(e) = Y; 142 | ^^^^^^^^^^^^^^^^^^^^ - variable not in all patterns 143 | | 144 | pattern doesn't bind `e` 145 146error[E0408]: variable `a` is not bound in all patterns 147 --> $DIR/missing-bindings.rs:64:29 148 | 149LL | Ok(a) | Err(_), 150 | - ^^^^^^ pattern doesn't bind `a` 151 | | 152 | variable not in all patterns 153 154error[E0408]: variable `a` is not bound in all patterns 155 --> $DIR/missing-bindings.rs:72:21 156 | 157LL | A(_, a) | 158 | - variable not in all patterns 159LL | B(b), 160 | ^^^^ pattern doesn't bind `a` 161 162error[E0408]: variable `b` is not bound in all patterns 163 --> $DIR/missing-bindings.rs:71:21 164 | 165LL | A(_, a) | 166 | ^^^^^^^ pattern doesn't bind `b` 167LL | B(b), 168 | - variable not in all patterns 169 170error[E0408]: variable `a` is not bound in all patterns 171 --> $DIR/missing-bindings.rs:75:17 172 | 173LL | A(_, a) | 174 | - variable not in all patterns 175... 176LL | B(_) 177 | ^^^^ pattern doesn't bind `a` 178 179error[E0408]: variable `b` is not bound in all patterns 180 --> $DIR/missing-bindings.rs:75:17 181 | 182LL | B(b), 183 | - variable not in all patterns 184... 185LL | B(_) 186 | ^^^^ pattern doesn't bind `b` 187 188error[E0408]: variable `a` is not bound in all patterns 189 --> $DIR/missing-bindings.rs:79:13 190 | 191LL | B(Ok(a) | Err(a)) 192 | - variable not in all patterns 193... 194LL | A(_, a) | 195 | - variable not in all patterns 196... 197LL | V3(c), 198 | ^^^^^ pattern doesn't bind `a` 199 200error[E0408]: variable `b` is not bound in all patterns 201 --> $DIR/missing-bindings.rs:60:13 202 | 203LL | / V1( 204LL | | 205LL | | 206LL | | A( 207... | 208LL | | B(Ok(a) | Err(a)) 209LL | | ) | 210 | |_____________^ pattern doesn't bind `b` 211... 212LL | B(b), 213 | - variable not in all patterns 214... 215LL | V3(c), 216 | ^^^^^ pattern doesn't bind `b` 217 218error[E0408]: variable `c` is not bound in all patterns 219 --> $DIR/missing-bindings.rs:60:13 220 | 221LL | / V1( 222LL | | 223LL | | 224LL | | A( 225... | 226LL | | B(Ok(a) | Err(a)) 227LL | | ) | 228 | |_____________^ pattern doesn't bind `c` 229LL | / V2( 230LL | | A( 231LL | | A(_, a) | 232LL | | B(b), 233... | 234LL | | 235LL | | ) | 236 | |_____________^ pattern doesn't bind `c` 237LL | V3(c), 238 | - variable not in all patterns 239 240warning: the feature `or_patterns` is incomplete and may cause the compiler to crash 241 --> $DIR/missing-bindings.rs:5:12 242 | 243LL | #![feature(or_patterns)] 244 | ^^^^^^^^^^^ 245 | 246 = note: `#[warn(incomplete_features)]` on by default 247 248error: aborting due to 26 previous errors 249 250For more information about this error, try `rustc --explain E0408`.