fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0381]: partially assigned binding `x` isn't fully initialized 2 --> $DIR/reassignment_immutable_fields.rs:7:5 3 | 4LL | let x: (u32, u32); 5 | - binding declared here but left uninitialized 6LL | x.0 = 1; 7 | ^^^^^^^ `x` partially assigned here but it isn't fully initialized 8 | 9 = help: partial initialization isn't supported, fully initialize the binding with a default value and mutate it, or use `std::mem::MaybeUninit` 10 11error[E0381]: partially assigned binding `x` isn't fully initialized 12 --> $DIR/reassignment_immutable_fields.rs:15:5 13 | 14LL | let x: (u32, u32); 15 | - binding declared here but left uninitialized 16LL | x.0 = 1; 17 | ^^^^^^^ `x` partially assigned here but it isn't fully initialized 18 | 19 = help: partial initialization isn't supported, fully initialize the binding with a default value and mutate it, or use `std::mem::MaybeUninit` 20 21error: aborting due to 2 previous errors 22 23For more information about this error, try `rustc --explain E0381`.