Skip to content

Commit 469019b

Browse files
committed
fix error number
gcc/rust/ChangeLog: * typecheck/rust-tyty-call.cc (TypeCheckCallExpr::visit): Signed-off-by: Ryutaro Okada <[email protected]>
1 parent 6029cc9 commit 469019b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gcc/rust/typecheck/rust-tyty-call.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ TypeCheckCallExpr::visit (ADTType &type)
5959
if (variant.get_variant_type () != TyTy::VariantDef::VariantType::TUPLE)
6060
{
6161
rust_error_at (
62-
call.get_locus (), ErrorCode::E0423,
62+
call.get_locus (), ErrorCode::E0618,
6363
"expected function, tuple struct or tuple variant, found struct %<%s%>",
6464
type.get_name ().c_str ());
6565
return;

0 commit comments

Comments
 (0)