]>
git.proxmox.com Git - rustc.git/blob - tests/ui/issues/issue-40402-ref-hints/issue-40402-2.rs
1 // Check that we do suggest `(ref a, ref b)` here, since `a` and `b`
2 // are nested within a pattern
4 let x
= vec
![(String
::new(), String
::new())];
5 let (a
, b
) = x
[0]; //~ ERROR cannot move out of index