]> git.proxmox.com Git - rustc.git/blame - src/test/ui/issues/issue-17651.rs
Update unsuspicious file list
[rustc.git] / src / test / ui / issues / issue-17651.rs
CommitLineData
1a4d82fc
JJ
1// Test that moves of unsized values within closures are caught
2// and rejected.
3
223e47cc 4fn main() {
c34b1796 5 (|| Box::new(*(&[0][..])))();
8faf50e0 6 //~^ ERROR the size for values of type
223e47cc 7}