Update to the rustfmt in rust 1.31, which is now stable.

This commit is contained in:
Dan Gohman
2018-12-06 16:15:48 -05:00
parent 323a9925e5
commit 5adab629f2
43 changed files with 181 additions and 177 deletions

View File

@@ -37,7 +37,7 @@ macro_rules! define_passes {
}
// Pass definitions.
define_passes!{
define_passes! {
Pass, NUM_PASSES, DESCRIPTIONS;
process_file: "Processing test file",
@@ -176,7 +176,7 @@ mod details {
}
/// Information about passes in a single thread.
thread_local!{
thread_local! {
static CURRENT_PASS: Cell<Pass> = Cell::new(Pass::None);
static PASS_TIME: RefCell<PassTimes> = RefCell::new(Default::default());
}