Remove old_path usage from layout.

This commit is contained in:
Ms2ger 2015-03-25 22:36:01 +01:00
parent 06d3fc719c
commit b9c4ab6882
2 changed files with 1 additions and 3 deletions

View file

@ -126,7 +126,6 @@ pub fn end_trace() {
root_scope.post = json::encode(&flow::base(&*task_state.flow_root)).unwrap(); root_scope.post = json::encode(&flow::base(&*task_state.flow_root)).unwrap();
let result = json::encode(&root_scope).unwrap(); let result = json::encode(&root_scope).unwrap();
let path = Path::new("layout_trace.json"); let mut file = File::create("layout_trace.json").unwrap();
let mut file = File::create(&path).unwrap();
file.write_all(result.as_bytes()).unwrap(); file.write_all(result.as_bytes()).unwrap();
} }

View file

@ -8,7 +8,6 @@
#![feature(core)] #![feature(core)]
#![feature(int_uint)] #![feature(int_uint)]
#![feature(io)] #![feature(io)]
#![feature(old_path)]
#![feature(plugin)] #![feature(plugin)]
#![feature(rustc_private)] #![feature(rustc_private)]
#![feature(std_misc)] #![feature(std_misc)]