]> git.lizzy.rs Git - rust.git/blob - src/test/ui/unique/unique-move-temp.rs
Rollup merge of #88858 - spektom:to_lower_upper_rev, r=dtolnay
[rust.git] / src / test / ui / unique / unique-move-temp.rs
1 // run-pass
2 #![allow(unused_mut)]
3
4 pub fn main() {
5     let mut i: Box<_>;
6     i = Box::new(100);
7     assert_eq!(*i, 100);
8 }