We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af9a6e5 commit f47fd77Copy full SHA for f47fd77
gcc/rust/typecheck/rust-tyty.cc
@@ -3522,7 +3522,9 @@ ParamType::is_equal (const BaseType &other) const
3522
return false;
3523
3524
if (can_resolve ())
3525
- return resolve ()->can_eq (other2.resolve (), false);
+ return Resolver::types_compatable (TyTy::TyWithLocation (resolve ()),
3526
+ TyTy::TyWithLocation (other2.resolve ()),
3527
+ UNKNOWN_LOCATION, false, false);
3528
3529
return get_symbol ().compare (other2.get_symbol ()) == 0;
3530
}
0 commit comments