about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorEh2406 <YeomanYaacov@gmail.com>2017-09-14 10:46:14 -0400
committerEh2406 <YeomanYaacov@gmail.com>2017-09-14 10:46:14 -0400
commitb91bac29835fb7d70ee5d29cac970efa18eeba89 (patch)
tree245fbc4ee532884d343ff477a0e82d0e9cf883ec /src
parent732dd2fd5f5fb28193408b64ade0e940434d239f (diff)
downloadrust-b91bac29835fb7d70ee5d29cac970efa18eeba89.tar.gz
rust-b91bac29835fb7d70ee5d29cac970efa18eeba89.zip
readd test
Diffstat (limited to 'src')
-rw-r--r--src/test/run-pass/for-loop-unconstrained-element-type-i32-fallback.rs4
1 files changed, 1 insertions, 3 deletions
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;
     }
 }