nac3core: better error message for unknown type annotation (#87)
This commit is contained in:
parent
7a060c2d29
commit
d867230c21
|
@ -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))
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue