mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[Diagnostics] NFC: Rename a fix/diagnostic for missing .rawValue reference
This commit is contained in:
@@ -3184,7 +3184,7 @@ bool ConstraintSystem::repairFailures(
|
||||
if (!isValueOfRawRepresentable(expectedType, rawReprType))
|
||||
return false;
|
||||
|
||||
conversionsOrFixes.push_back(UseValueTypeOfRawRepresentative::create(
|
||||
conversionsOrFixes.push_back(UseRawValue::create(
|
||||
*this, rawReprType, expectedType, getConstraintLocator(locator)));
|
||||
return true;
|
||||
};
|
||||
@@ -9578,7 +9578,7 @@ ConstraintSystem::SolutionKind ConstraintSystem::simplifyFixConstraint(
|
||||
case FixKind::UsePropertyWrapper:
|
||||
case FixKind::UseWrappedValue:
|
||||
case FixKind::ExpandArrayIntoVarargs:
|
||||
case FixKind::UseValueTypeOfRawRepresentative:
|
||||
case FixKind::UseRawValue:
|
||||
case FixKind::ExplicitlyConstructRawRepresentable:
|
||||
case FixKind::SpecifyBaseTypeForContextualMember:
|
||||
case FixKind::CoerceToCheckedCast:
|
||||
|
||||
Reference in New Issue
Block a user