Upgrade to rustfmt 0.8.3.

This commit is contained in:
Jakob Stoklund Olesen
2017-04-27 12:52:41 -07:00
parent 962a3a6a5e
commit 15606fa735
8 changed files with 43 additions and 22 deletions

View File

@@ -45,13 +45,16 @@ impl SubTest for TestRegalloc {
comp_ctx.flowgraph();
// TODO: Should we have an option to skip legalization?
comp_ctx.legalize(isa)
comp_ctx
.legalize(isa)
.map_err(|e| pretty_error(&comp_ctx.func, e))?;
comp_ctx.regalloc(isa)
comp_ctx
.regalloc(isa)
.map_err(|e| pretty_error(&comp_ctx.func, e))?;
let mut text = String::new();
write_function(&mut text, &comp_ctx.func, Some(isa)).map_err(|e| e.to_string())?;
write_function(&mut text, &comp_ctx.func, Some(isa))
.map_err(|e| e.to_string())?;
run_filecheck(&text, context)
}
}