]> git.lizzy.rs Git - rust.git/blob - tests/ui/unused-move-capture.rs
Rollup merge of #106570 - Xaeroxe:div-duration-tests, r=JohnTitor
[rust.git] / tests / ui / unused-move-capture.rs
1 // run-pass
2 // pretty-expanded FIXME #23616
3
4 pub fn main() {
5     let _x: Box<_> = Box::new(1);
6     let lam_move = || {};
7     lam_move();
8 }