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