]> git.lizzy.rs Git - rust.git/blob - src/test/run-pass/unused-move.rs
Auto merge of #61361 - estebank:infer-type, r=varkor
[rust.git] / src / test / run-pass / unused-move.rs
1 // Issue #3878
2 // Issue Name: Unused move causes a crash
3 // Abstract: zero-fill to block after drop
4
5 // pretty-expanded FIXME #23616
6
7 #![allow(path_statements)]
8 #![feature(box_syntax)]
9
10 pub fn main()
11 {
12     let y: Box<_> = box 1;
13     y;
14 }