Update to the rustfmt in rust 1.31, which is now stable.
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user