]> git.lizzy.rs Git - rust.git/blob - src/test/ui/binding/match-unique-bind.rs
Merge commit 'd556c56f792756dd7cfec742b9f2e07612dc10f4' into sync_cg_clif-2021-02-01
[rust.git] / src / test / ui / binding / match-unique-bind.rs
1 // run-pass
2 #![feature(box_patterns)]
3 #![feature(box_syntax)]
4
5 pub fn main() {
6     match box 100 {
7       box x => {
8         println!("{}", x);
9         assert_eq!(x, 100);
10       }
11     }
12 }