Skip to content

Commit cca5215

Browse files
committed
Diagnostic improvement.
1 parent e37ce2f commit cca5215

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

syntax/check.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ fn check_type_ident(cx: &mut Check, ident: &Ident) {
6767
&& !cx.types.cxx.contains(ident)
6868
&& !cx.types.rust.contains(ident)
6969
{
70-
cx.error(ident, "unsupported type");
70+
cx.error(ident, &format!("unsupported type: {}", ident));
7171
}
7272
}
7373

0 commit comments

Comments
 (0)