mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-17 05:25:37 +03:00
readd test
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user