]> git.proxmox.com Git - rustc.git/blame - src/test/ui/binding/match-unique-bind.rs
Merge tag 'debian/1.52.1+dfsg1-1_exp2' into proxmox/buster
[rustc.git] / src / test / ui / binding / match-unique-bind.rs
CommitLineData
b7449926 1// run-pass
85aaf69f 2#![feature(box_patterns)]
1a4d82fc
JJ
3#![feature(box_syntax)]
4
223e47cc 5pub fn main() {
85aaf69f 6 match box 100 {
1a4d82fc
JJ
7 box x => {
8 println!("{}", x);
970d7e83 9 assert_eq!(x, 100);
223e47cc
LB
10 }
11 }
12}