about summary refs log tree commit diff
path: root/tests/ui/unused-move-capture.rs
blob: 5f42bcbe280e64fc0ae572970ae2490160563673 (plain)
1
2
3
4
5
6
7
//@ run-pass

pub fn main() {
    let _x: Box<_> = Box::new(1);
    let lam_move = || {};
    lam_move();
}