From 9be35f82c1abf2ecbab489bca9eca138ea648312 Mon Sep 17 00:00:00 2001 From: Vadim Petrochenkov Date: Sat, 27 Jul 2019 01:33:01 +0300 Subject: tests: Move run-pass tests without naming conflicts to ui --- src/test/run-pass/binding/expr-match-unique.rs | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 src/test/run-pass/binding/expr-match-unique.rs (limited to 'src/test/run-pass/binding/expr-match-unique.rs') diff --git a/src/test/run-pass/binding/expr-match-unique.rs b/src/test/run-pass/binding/expr-match-unique.rs deleted file mode 100644 index a999541207d..00000000000 --- a/src/test/run-pass/binding/expr-match-unique.rs +++ /dev/null @@ -1,10 +0,0 @@ -// run-pass -#![feature(box_syntax)] - -// Tests for match as expressions resulting in boxed types -fn test_box() { - let res: Box<_> = match true { true => { box 100 }, _ => panic!() }; - assert_eq!(*res, 100); -} - -pub fn main() { test_box(); } -- cgit 1.4.1-3-g733a5