]> git.lizzy.rs Git - rust.git/blob - src/test/ui/binding/match-unique-bind.rs
Rollup merge of #83791 - the8472:relax-zip-side-effect-guarantee, r=dtolnay
[rust.git] / src / test / ui / binding / match-unique-bind.rs
1 // run-pass
2 #![feature(box_patterns)]
3
4 pub fn main() {
5     match Box::new(100) {
6       box x => {
7         println!("{}", x);
8         assert_eq!(x, 100);
9       }
10     }
11 }