fixing eror message

This commit is contained in:
Jakub Doka 2024-10-25 16:08:20 +02:00
parent b1da36ecde
commit d23d010917
No known key found for this signature in database
GPG key ID: C6E9A89936B8C143

View file

@ -2466,7 +2466,7 @@ impl<'a> Codegen<'a> {
expr.pos(), expr.pos(),
fa!( fa!(
"intcast is inferred to output '{}', which is not an integer", "intcast is inferred to output '{}', which is not an integer",
self.ty_display(val.ty) self.ty_display(ty)
), ),
); );
} }