We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
The following code reports a warning that x is uninitialized as well as the expected pattern error.
x
fn destructure_slice(s: &[i32]) { let [x] = *s; drop(x); }
playground