]> git.lizzy.rs Git - rust.git/blob - tests/ui/unused-move.rs
Rollup merge of #106664 - chenyukang:yukang/fix-106597-remove-lseek, r=cuviper
[rust.git] / tests / ui / unused-move.rs
1 // run-pass
2 // Issue #3878
3 // Issue Name: Unused move causes a crash
4 // Abstract: zero-fill to block after drop
5
6 // pretty-expanded FIXME #23616
7
8 #![allow(path_statements)]
9
10 pub fn main() {
11     let y: Box<_> = Box::new(1);
12     y;
13 }