mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-25 03:04:13 +03:00
edit duplicate function message
This commit is contained in:
parent
8ac7440daa
commit
aa0e576773
@ -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,
|
||||
)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user