mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Merge pull request #18963 from CodaFi/its-not-unusual-to-be-unused-by-anyone
[NFC] Silence a bunch of Wunused-variable diagnostics
This commit is contained in:
@@ -93,7 +93,7 @@ ValueDecl *RequirementFailure::getDeclRef() const {
|
||||
locator = cs.getConstraintLocator(
|
||||
ctor.withPathElement(PathEltKind::ApplyFunction)
|
||||
.withPathElement(PathEltKind::ConstructorMember));
|
||||
} else if (auto *UDE = dyn_cast<UnresolvedDotExpr>(anchor)) {
|
||||
} else if (isa<UnresolvedDotExpr>(anchor)) {
|
||||
ConstraintLocatorBuilder member(locator);
|
||||
locator =
|
||||
cs.getConstraintLocator(member.withPathElement(PathEltKind::Member));
|
||||
|
||||
Reference in New Issue
Block a user