]> git.lizzy.rs Git - rust.git/blob - tests/ui/loops/loop-break-unsize.rs
Rollup merge of #104672 - Voultapher:unify-sort-modules, r=thomcc
[rust.git] / tests / ui / loops / loop-break-unsize.rs
1 // Regression test for #62312
2 // check-pass
3
4 fn main() {
5     let _ = loop {
6         break Box::new(()) as Box<dyn Send>;
7     };
8 }