summaryrefslogtreecommitdiffstats
path: root/tests/ui/nll/move-subpaths-moves-root.rs
blob: d266c6bb6584ffc019980b83dc180f802e12bea1 (plain)
1
2
3
4
5
fn main() {
    let x = (vec![1, 2, 3], );
    drop(x.0);
    drop(x); //~ ERROR use of partially moved value
}