2019-09-01 12:09:59 -05:00
|
|
|
error[E0381]: borrow of possibly-uninitialized variable: `x`
|
2019-04-22 02:40:08 -05:00
|
|
|
--> $DIR/borrowck-uninit-ref-chain.rs:8:14
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-17 04:52:07 -05:00
|
|
|
LL | let _y = &**x;
|
2019-09-01 12:09:59 -05:00
|
|
|
| ^^^^ use of possibly-uninitialized `**x`
|
2018-08-08 07:28:26 -05:00
|
|
|
|
2019-09-01 12:09:59 -05:00
|
|
|
error[E0381]: borrow of possibly-uninitialized variable: `x`
|
2019-04-22 02:40:08 -05:00
|
|
|
--> $DIR/borrowck-uninit-ref-chain.rs:11:14
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-17 04:52:07 -05:00
|
|
|
LL | let _y = &**x;
|
2019-09-01 12:09:59 -05:00
|
|
|
| ^^^^ use of possibly-uninitialized `**x`
|
2018-08-08 07:28:26 -05:00
|
|
|
|
2019-09-01 12:09:59 -05:00
|
|
|
error[E0381]: borrow of possibly-uninitialized variable: `x`
|
2019-04-22 02:40:08 -05:00
|
|
|
--> $DIR/borrowck-uninit-ref-chain.rs:14:14
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-17 04:52:07 -05:00
|
|
|
LL | let _y = &**x;
|
2019-09-01 12:09:59 -05:00
|
|
|
| ^^^^ use of possibly-uninitialized `**x`
|
2018-08-08 07:28:26 -05:00
|
|
|
|
2019-09-01 12:09:59 -05:00
|
|
|
error[E0381]: assign to part of possibly-uninitialized variable: `a`
|
2019-04-22 02:40:08 -05:00
|
|
|
--> $DIR/borrowck-uninit-ref-chain.rs:18:5
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-17 04:52:07 -05:00
|
|
|
LL | a.x = 0;
|
2019-09-01 12:09:59 -05:00
|
|
|
| ^^^^^^^ use of possibly-uninitialized `a`
|
2018-08-08 07:28:26 -05:00
|
|
|
|
2019-09-01 12:09:59 -05:00
|
|
|
error[E0381]: assign to part of possibly-uninitialized variable: `a`
|
2019-04-22 02:40:08 -05:00
|
|
|
--> $DIR/borrowck-uninit-ref-chain.rs:22:5
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-17 04:52:07 -05:00
|
|
|
LL | a.x = &&0;
|
2019-09-01 12:09:59 -05:00
|
|
|
| ^^^^^^^^^ use of possibly-uninitialized `a`
|
2018-08-08 07:28:26 -05:00
|
|
|
|
2019-09-01 12:09:59 -05:00
|
|
|
error[E0381]: assign to part of possibly-uninitialized variable: `a`
|
2019-04-22 02:40:08 -05:00
|
|
|
--> $DIR/borrowck-uninit-ref-chain.rs:27:5
|
2018-10-16 10:08:59 -05:00
|
|
|
|
|
2019-03-17 04:52:07 -05:00
|
|
|
LL | a.x = 0;
|
2019-09-01 12:09:59 -05:00
|
|
|
| ^^^^^^^ use of possibly-uninitialized `a`
|
2018-10-16 10:08:59 -05:00
|
|
|
|
2019-09-01 12:09:59 -05:00
|
|
|
error[E0381]: assign to part of possibly-uninitialized variable: `a`
|
2019-04-22 02:40:08 -05:00
|
|
|
--> $DIR/borrowck-uninit-ref-chain.rs:31:5
|
2018-10-16 10:08:59 -05:00
|
|
|
|
|
2019-03-17 04:52:07 -05:00
|
|
|
LL | a.x = &&0;
|
2019-09-01 12:09:59 -05:00
|
|
|
| ^^^^^^^^^ use of possibly-uninitialized `a`
|
2018-10-16 10:08:59 -05:00
|
|
|
|
|
|
|
error: aborting due to 7 previous errors
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0381`.
|