-// compile-pass
+// build-pass
#![allow(dead_code)]
#![allow(unused_imports)]
#![allow(stable_features)]
// had to do with codegen ignoring binders.
// pretty-expanded FIXME #23616
-// ignore-cloudabi no std::fs
#![feature(os)]
pub fn parse_summary<R: Read>(_: R, _: &Path) {
let path_from_root = Path::new("");
- Path::new(&iter::repeat("../")
- .take(path_from_root.components().count() - 1)
- .collect::<String>());
+ Path::new(&"../".repeat(path_from_root.components().count() - 1));
}
fn foo() {