File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -1949,18 +1949,6 @@ LookupConformanceInModuleRequest::evaluate(
1949
1949
return getBuiltinBuiltinTypeConformance (type, builtinType, protocol);
1950
1950
}
1951
1951
1952
- // Specific handling of Copyable and Sendable for pack expansions.
1953
- // FIXME: Remove.
1954
- if (auto packExpansion = type->getAs <PackExpansionType>()) {
1955
- if (protocol->isSpecificProtocol (KnownProtocolKind::Copyable) ||
1956
- protocol->isSpecificProtocol (KnownProtocolKind::Sendable)) {
1957
- auto patternType = packExpansion->getPatternType ();
1958
- return (patternType->isTypeParameter ()
1959
- ? ProtocolConformanceRef (protocol)
1960
- : mod->lookupConformance (patternType, protocol));
1961
- }
1962
- }
1963
-
1964
1952
auto nominal = type->getAnyNominal ();
1965
1953
1966
1954
// If we don't have a nominal type, there are no conformances.
You can’t perform that action at this time.
0 commit comments