fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0381]: used binding `x` isn't initialized 2 --> $DIR/move-of-addr-of-mut.rs:8:5 3 | 4LL | let mut x: S; 5 | ----- binding declared here but left uninitialized 6LL | std::ptr::addr_of_mut!(x); 7 | ^^^^^^^^^^^^^^^^^^^^^^^^^ `x` used here but it isn't initialized 8 | 9 = note: this error originates in the macro `std::ptr::addr_of_mut` (in Nightly builds, run with -Z macro-backtrace for more info) 10help: consider assigning a value 11 | 12LL | let mut x: S = todo!(); 13 | +++++++++ 14 15error: aborting due to previous error 16 17For more information about this error, try `rustc --explain E0381`.