]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/binding/match-unique-bind.rs
Rollup merge of #89235 - yaahc:junit-formatting, r=kennytm
[rust.git] / src / test / ui / binding / match-unique-bind.rs
index f5361b118bed85aebab71ece419754014e8c57bd..507478983f68163ab662754b1a4fda0d12fa410d 100644 (file)
@@ -1,9 +1,8 @@
 // run-pass
 #![feature(box_patterns)]
-#![feature(box_syntax)]
 
 pub fn main() {
-    match box 100 {
+    match Box::new(100) {
       box x => {
         println!("{}", x);
         assert_eq!(x, 100);