]> git.lizzy.rs Git - rust.git/blob - src/test/ui/nll/move-subpaths-moves-root.rs
Auto merge of #59627 - LooMaclin:issue_57128_improve_miri_error_reporting_in_check_in...
[rust.git] / src / test / ui / nll / move-subpaths-moves-root.rs
1 fn main() {
2     let x = (vec![1, 2, 3], );
3     drop(x.0);
4     drop(x); //~ ERROR use of moved value
5 }