edit duplicate function message

This commit is contained in:
collin 2021-04-07 14:31:44 -07:00
parent 8ac7440daa
commit aa0e576773

View File

@ -174,7 +174,7 @@ impl AsgConvertError {
pub fn duplicate_function_definition(name: &str, span: &Span) -> Self {
Self::new_from_span(
format!("duplicate definition, function with name \"{}\" already exists", name),
format!("a function named \"{}\" already exists in this scope", name),
span,
)
}