nac3core: better error message for unknown type annotation (#87)

This commit is contained in:
ychenfo 2021-12-27 04:37:48 +08:00
parent 7a060c2d29
commit d867230c21
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ pub fn parse_ast_to_type_annotation_kinds<T>(
))
}
} else {
Err(format!("name cannot be parsed as a type annotation at {}", expr.location))
Err(format!("unknown type annotation at {}", expr.location))
}
};