Skip to content

Commit b91bac2

Browse files
committed
readd test
1 parent 732dd2f commit b91bac2

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/test/run-pass/for-loop-unconstrained-element-type-i32-fallback.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,9 @@
1212
// and that the for loop desugaring doesn't interfere with
1313
// that.
1414

15-
// ignore-test
16-
1715
fn main() {
1816
let mut sum = 0;
1917
for i in Vec::new() {
20-
sum += i;
18+
sum += &i;
2119
}
2220
}

0 commit comments

Comments
 (0)