Remove deferred obligation for opaques during solving

This commit is contained in:
Ayaz Hafiz 2022-07-25 12:50:56 -04:00
parent c1dbffdad9
commit c0d26226dd
No known key found for this signature in database
GPG Key ID: 0E2A37416A25EF58

View File

@ -1767,10 +1767,6 @@ fn check_ability_specialization(
let specialization =
MemberSpecializationInfo::new(symbol, specialization_lambda_sets);
// Make sure we check that the opaque has specialized all members of the
// ability, after we finish solving the module.
deferred_obligations
.add(must_implement_ability, AbilityImplError::IncompleteAbility);
// This specialization dominates any derives that might be present.
deferred_obligations.dominate(
RequestedDeriveKey {