diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/ui/unused-move-capture.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test/ui/unused-move-capture.rs b/src/test/ui/unused-move-capture.rs new file mode 100644 index 000000000..efaf10da4 --- /dev/null +++ b/src/test/ui/unused-move-capture.rs @@ -0,0 +1,8 @@ +// run-pass +// pretty-expanded FIXME #23616 + +pub fn main() { + let _x: Box<_> = Box::new(1); + let lam_move = || {}; + lam_move(); +} |