Skip to content

Commit

Permalink
Fix incorrect error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
emk committed Oct 27, 2023
1 parent ed4dfda commit 82383f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -765,8 +765,8 @@ impl FunctionType {
Err(Error::annotated(
format!(
"arguments {} do not match {}",
DisplayArgTypes(arg_types),
self,
DisplayArgTypes(arg_types)
),
spanned.span(),
"no matching signature found",
Expand Down

0 comments on commit 82383f3

Please sign in to comment.