Remove unneeded `#[derive(Copy)]`

It was introduced with the change that made copy opt-in. The
implementation gives a warning, because the struct contains a raw
pointer.
This commit is contained in:
Tobias Bucher 2015-11-19 16:00:54 +00:00
parent 28f6b88978
commit c5971a29da
1 changed files with 0 additions and 2 deletions

View File

@ -37,7 +37,6 @@ impl OptimizationDiagnosticKind {
}
}
#[derive(Copy, Clone)]
pub struct OptimizationDiagnostic {
pub kind: OptimizationDiagnosticKind,
pub pass_name: *const c_char,
@ -94,7 +93,6 @@ impl InlineAsmDiagnostic {
}
}
#[derive(Copy, Clone)]
pub enum Diagnostic {
Optimization(OptimizationDiagnostic),
InlineAsm(InlineAsmDiagnostic),