diff options
Diffstat (limited to 'src/librustc_trans/back/write.rs')
| -rw-r--r-- | src/librustc_trans/back/write.rs | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/src/librustc_trans/back/write.rs b/src/librustc_trans/back/write.rs index c1e470aa4e8..33011d9e35c 100644 --- a/src/librustc_trans/back/write.rs +++ b/src/librustc_trans/back/write.rs @@ -34,7 +34,7 @@ use std::sync::mpsc::channel; use std::thread; use libc::{c_uint, c_int, c_void}; -#[deriving(Clone, Copy, PartialEq, PartialOrd, Ord, Eq)] +#[derive(Clone, Copy, PartialEq, PartialOrd, Ord, Eq)] pub enum OutputType { OutputTypeBitcode, OutputTypeAssembly, @@ -86,7 +86,7 @@ struct Diagnostic { // We use an Arc instead of just returning a list of diagnostics from the // child task because we need to make sure that the messages are seen even // if the child task panics (for example, when `fatal` is called). -#[deriving(Clone)] +#[derive(Clone)] struct SharedEmitter { buffer: Arc<Mutex<Vec<Diagnostic>>>, } @@ -256,7 +256,7 @@ fn create_target_machine(sess: &Session) -> TargetMachineRef { /// Module-specific configuration for `optimize_and_codegen`. -#[deriving(Clone)] +#[derive(Clone)] struct ModuleConfig { /// LLVM TargetMachine to use for codegen. tm: TargetMachineRef, | 
