We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6029cc9 commit 469019bCopy full SHA for 469019b
gcc/rust/typecheck/rust-tyty-call.cc
@@ -59,7 +59,7 @@ TypeCheckCallExpr::visit (ADTType &type)
59
if (variant.get_variant_type () != TyTy::VariantDef::VariantType::TUPLE)
60
{
61
rust_error_at (
62
- call.get_locus (), ErrorCode::E0423,
+ call.get_locus (), ErrorCode::E0618,
63
"expected function, tuple struct or tuple variant, found struct %<%s%>",
64
type.get_name ().c_str ());
65
return;
0 commit comments