]> git.lizzy.rs Git - rust.git/blob - src/test/ui/binding/match-unique-bind.rs
Rollup merge of #86479 - exphp-forks:float-debug-exponential, r=yaahc
[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 }