Avoid repeating the underlined type in the label
diff --git a/syntax/check.rs b/syntax/check.rs
index ced1570..25183c9 100644
--- a/syntax/check.rs
+++ b/syntax/check.rs
@@ -67,7 +67,8 @@
         && !cx.types.cxx.contains(ident)
         && !cx.types.rust.contains(ident)
     {
-        cx.error(ident, &format!("unsupported type: {}", ident));
+        let msg = format!("unsupported type: {}", ident);
+        cx.error(ident, &msg);
     }
 }