diff --git a/hbasm/src/main.rs b/hbasm/src/main.rs index d569669..844f2d6 100644 --- a/hbasm/src/main.rs +++ b/hbasm/src/main.rs @@ -40,7 +40,7 @@ fn main() -> Result<(), Box> { .with_code(e_code) .with_message(format!("{:?}", e.kind)) .with_label( - Label::new(("engine_internal", e.span.clone())) + Label::new(("engine_internal", e.span)) .with_message(message) .with_color(a), )