aboutsummaryrefslogtreecommitdiff
path: root/src/display.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/display.rs')
-rw-r--r--src/display.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/display.rs b/src/display.rs
index e70734d..0694265 100644
--- a/src/display.rs
+++ b/src/display.rs
@@ -418,7 +418,8 @@ impl fmt::Display for Opcode {
&Opcode::SETGE => write!(f, "{}", "setge"),
&Opcode::SETLE => write!(f, "{}", "setle"),
&Opcode::SETG => write!(f, "{}", "setg"),
- &Opcode::Invalid => write!(f, "{}", "invalid")
+ &Opcode::Invalid => write!(f, "{}", "invalid"),
+ _ => { unimplemented!("some other instruction"); },
}
}
}
@@ -648,6 +649,7 @@ impl <T: std::fmt::Write> Colorize<T> for Opcode {
Opcode::UD2 |
Opcode::Invalid => { write!(out, "{}", colors.invalid_op(self)) }
+ _ => { unimplemented!("some other instruction"); },
}
}
}