]> git.lizzy.rs Git - rust.git/blob - src/test/ui/binding/match-unique-bind.rs
Merge commit 'b7f3f7f6082679da2da9a0b3faf1b5adef3afd3b' into clippyup
[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 }