From b91bac29835fb7d70ee5d29cac970efa18eeba89 Mon Sep 17 00:00:00 2001 From: Eh2406 Date: Thu, 14 Sep 2017 10:46:14 -0400 Subject: readd test --- src/test/run-pass/for-loop-unconstrained-element-type-i32-fallback.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/test') diff --git a/src/test/run-pass/for-loop-unconstrained-element-type-i32-fallback.rs b/src/test/run-pass/for-loop-unconstrained-element-type-i32-fallback.rs index 264efa9f402..0bfc4d2264c 100644 --- a/src/test/run-pass/for-loop-unconstrained-element-type-i32-fallback.rs +++ b/src/test/run-pass/for-loop-unconstrained-element-type-i32-fallback.rs @@ -12,11 +12,9 @@ // and that the for loop desugaring doesn't interfere with // that. -// ignore-test - fn main() { let mut sum = 0; for i in Vec::new() { - sum += i; + sum += &i; } } -- cgit 1.4.1-3-g733a5