summaryrefslogtreecommitdiffstats
path: root/src/test/ui/unused-move-capture.rs
blob: efaf10da4a99fa2b9fb12263700eeb809b794080 (plain)
1
2
3
4
5
6
7
8
// run-pass
// pretty-expanded FIXME #23616

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