Upgrade to rustfmt 0.8.3.

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

View File

@@ -40,11 +40,13 @@ impl SubTest for TestLegalizer {
let isa = context.isa.expect("legalizer needs an ISA");
comp_ctx.flowgraph();
comp_ctx.legalize(isa)
comp_ctx
.legalize(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)
}
}