1 error[E0381]: used binding `x` isn't initialized
2 --> $DIR/borrowck-uninit-ref-chain.rs:8:14
4 LL | let x: &&Box<i32>;
5 | - binding declared here but left uninitialized
7 | ^^^^ `**x` used here but it isn't initialized
9 error[E0381]: used binding `x` isn't initialized
10 --> $DIR/borrowck-uninit-ref-chain.rs:11:14
12 LL | let x: &&S<i32, i32>;
13 | - binding declared here but left uninitialized
15 | ^^^^ `**x` used here but it isn't initialized
17 error[E0381]: used binding `x` isn't initialized
18 --> $DIR/borrowck-uninit-ref-chain.rs:14:14
21 | - binding declared here but left uninitialized
23 | ^^^^ `**x` used here but it isn't initialized
25 error[E0381]: partially assigned binding `a` isn't fully initialized
26 --> $DIR/borrowck-uninit-ref-chain.rs:18:5
28 LL | let mut a: S<i32, i32>;
29 | ----- binding declared here but left uninitialized
31 | ^^^^^^^ `a` partially assigned here but it isn't fully initialized
33 = help: partial initialization isn't supported, fully initialize the binding with a default value and mutate it, or use `std::mem::MaybeUninit`
35 error[E0381]: partially assigned binding `a` isn't fully initialized
36 --> $DIR/borrowck-uninit-ref-chain.rs:22:5
38 LL | let mut a: S<&&i32, &&i32>;
39 | ----- binding declared here but left uninitialized
41 | ^^^^^^^^^ `a` partially assigned here but it isn't fully initialized
43 = help: partial initialization isn't supported, fully initialize the binding with a default value and mutate it, or use `std::mem::MaybeUninit`
45 error[E0381]: partially assigned binding `a` isn't fully initialized
46 --> $DIR/borrowck-uninit-ref-chain.rs:27:5
48 LL | let mut a: S<i32, i32>;
49 | ----- binding declared here but left uninitialized
51 | ^^^^^^^ `a` partially assigned here but it isn't fully initialized
53 = help: partial initialization isn't supported, fully initialize the binding with a default value and mutate it, or use `std::mem::MaybeUninit`
55 error[E0381]: partially assigned binding `a` isn't fully initialized
56 --> $DIR/borrowck-uninit-ref-chain.rs:31:5
58 LL | let mut a: S<&&i32, &&i32>;
59 | ----- binding declared here but left uninitialized
61 | ^^^^^^^^^ `a` partially assigned here but it isn't fully initialized
63 = help: partial initialization isn't supported, fully initialize the binding with a default value and mutate it, or use `std::mem::MaybeUninit`
65 error: aborting due to 7 previous errors
67 For more information about this error, try `rustc --explain E0381`.