]> git.lizzy.rs Git - rust.git/blob - src/test/ui/unused-move-capture.rs
Auto merge of #81507 - weiznich:add_diesel_to_cargo_test, r=Mark-Simulacrum
[rust.git] / src / test / ui / unused-move-capture.rs
1 // run-pass
2 // pretty-expanded FIXME #23616
3
4 #![feature(box_syntax)]
5
6 pub fn main() {
7     let _x: Box<_> = box 1;
8     let lam_move = || {};
9     lam_move();
10 }