Update to the latest stable rustfmt, 0.4.2-stable (febbb36 2018-04-12).

This commit is contained in:
Dan Gohman
2018-05-29 10:37:38 -07:00
parent 7045c41418
commit a1fe0f82e1
45 changed files with 124 additions and 76 deletions

View File

@@ -9,8 +9,8 @@ pub mod settings;
use super::super::settings as shared_settings;
use binemit::{emit_function, CodeSink, MemoryCodeSink};
use ir;
use isa::Builder as IsaBuilder;
use isa::enc_tables::{self as shared_enc_tables, lookup_enclist, Encodings};
use isa::Builder as IsaBuilder;
use isa::{EncInfo, RegClass, RegInfo, TargetIsa};
use regalloc;
use std::boxed::Box;

View File

@@ -9,8 +9,8 @@ pub mod settings;
use super::super::settings as shared_settings;
use binemit::{emit_function, CodeSink, MemoryCodeSink};
use ir;
use isa::Builder as IsaBuilder;
use isa::enc_tables::{lookup_enclist, Encodings};
use isa::Builder as IsaBuilder;
use isa::{EncInfo, RegClass, RegInfo, TargetIsa};
use regalloc;
use std::boxed::Box;

View File

@@ -9,8 +9,8 @@ pub mod settings;
use super::super::settings as shared_settings;
use binemit::{emit_function, CodeSink, MemoryCodeSink};
use ir;
use isa::Builder as IsaBuilder;
use isa::enc_tables::{self as shared_enc_tables, lookup_enclist, Encodings};
use isa::Builder as IsaBuilder;
use isa::{EncInfo, RegClass, RegInfo, TargetIsa};
use regalloc;
use std::boxed::Box;
@@ -113,8 +113,8 @@ impl TargetIsa for Isa {
#[cfg(test)]
mod tests {
use ir::{Function, InstructionData, Opcode};
use ir::{immediates, types};
use ir::{Function, InstructionData, Opcode};
use isa;
use settings::{self, Configurable};
use std::string::{String, ToString};

View File

@@ -4,8 +4,8 @@
//! defined in this module expresses the low-level details of accessing a stack slot from an
//! encoded instruction.
use ir::StackSlot;
use ir::stackslot::{StackOffset, StackSlotKind, StackSlots};
use ir::StackSlot;
/// A method for referencing a stack slot in the current stack frame.
///

View File

@@ -9,8 +9,8 @@ pub mod settings;
use super::super::settings as shared_settings;
use binemit::{emit_function, CodeSink, MemoryCodeSink};
use ir;
use isa::Builder as IsaBuilder;
use isa::enc_tables::{self as shared_enc_tables, lookup_enclist, Encodings};
use isa::Builder as IsaBuilder;
use isa::{EncInfo, RegClass, RegInfo, TargetIsa};
use regalloc;
use result;