]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/moves/move-in-guard-1.rs
4 let x
: Box
<_
> = Box
::new(1);
9 (1, _
) if take(x
) => (),
10 (_
, 2) if take(x
) => (), //~ ERROR use of moved value: `x`
15 fn take
<T
>(_
: T
) -> bool { false }