From ce888a505524937ca9aa91370e204bb28fe6ef7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20Br=C3=BCschweiler?= Date: Sun, 23 Jun 2013 17:15:37 +0200 Subject: [PATCH] Fix reflect-visit-type for iterator changes --- src/test/run-pass/reflect-visit-type.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/run-pass/reflect-visit-type.rs b/src/test/run-pass/reflect-visit-type.rs index 3b51abbd489b4..bb1c92dfa8a73 100644 --- a/src/test/run-pass/reflect-visit-type.rs +++ b/src/test/run-pass/reflect-visit-type.rs @@ -162,7 +162,7 @@ pub fn main() { visit_ty::(vv); visit_ty::<~[int]>(vv); - for v.types.each |&s| { + for v.types.iter().advance |&s| { println(fmt!("type: %s", s)); } assert_eq!((*v.types).clone(), ~[~"bool", ~"int", ~"i8", ~"i16", ~"[", ~"int", ~"]"]);