1 error[E0381]: use of possibly uninitialized variable: `x`
2 --> $DIR/borrowck-uninit-in-assignop.rs:16:5
4 LL | x += 1; //~ ERROR use of possibly uninitialized variable: `x`
5 | ^^^^^^ use of possibly uninitialized `x`
7 error[E0381]: use of possibly uninitialized variable: `x`
8 --> $DIR/borrowck-uninit-in-assignop.rs:19:5
10 LL | x -= 1; //~ ERROR use of possibly uninitialized variable: `x`
11 | ^^^^^^ use of possibly uninitialized `x`
13 error[E0381]: use of possibly uninitialized variable: `x`
14 --> $DIR/borrowck-uninit-in-assignop.rs:22:5
16 LL | x *= 1; //~ ERROR use of possibly uninitialized variable: `x`
17 | ^^^^^^ use of possibly uninitialized `x`
19 error[E0381]: use of possibly uninitialized variable: `x`
20 --> $DIR/borrowck-uninit-in-assignop.rs:25:5
22 LL | x /= 1; //~ ERROR use of possibly uninitialized variable: `x`
23 | ^^^^^^ use of possibly uninitialized `x`
25 error[E0381]: use of possibly uninitialized variable: `x`
26 --> $DIR/borrowck-uninit-in-assignop.rs:28:5
28 LL | x %= 1; //~ ERROR use of possibly uninitialized variable: `x`
29 | ^^^^^^ use of possibly uninitialized `x`
31 error[E0381]: use of possibly uninitialized variable: `x`
32 --> $DIR/borrowck-uninit-in-assignop.rs:31:5
34 LL | x ^= 1; //~ ERROR use of possibly uninitialized variable: `x`
35 | ^^^^^^ use of possibly uninitialized `x`
37 error[E0381]: use of possibly uninitialized variable: `x`
38 --> $DIR/borrowck-uninit-in-assignop.rs:34:5
40 LL | x &= 1; //~ ERROR use of possibly uninitialized variable: `x`
41 | ^^^^^^ use of possibly uninitialized `x`
43 error[E0381]: use of possibly uninitialized variable: `x`
44 --> $DIR/borrowck-uninit-in-assignop.rs:37:5
46 LL | x |= 1; //~ ERROR use of possibly uninitialized variable: `x`
47 | ^^^^^^ use of possibly uninitialized `x`
49 error[E0381]: use of possibly uninitialized variable: `x`
50 --> $DIR/borrowck-uninit-in-assignop.rs:40:5
52 LL | x <<= 1; //~ ERROR use of possibly uninitialized variable: `x`
53 | ^^^^^^^ use of possibly uninitialized `x`
55 error[E0381]: use of possibly uninitialized variable: `x`
56 --> $DIR/borrowck-uninit-in-assignop.rs:43:5
58 LL | x >>= 1; //~ ERROR use of possibly uninitialized variable: `x`
59 | ^^^^^^^ use of possibly uninitialized `x`
61 error: aborting due to 10 previous errors
63 For more information about this error, try `rustc --explain E0381`.