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.
SWIFT_ENABLE_EXPERIMENTAL_NONCOPYABLE_GENERICS
1 parent b5fc2fc commit 87e6ce7Copy full SHA for 87e6ce7
lib/AST/Requirement.cpp
@@ -349,8 +349,7 @@ void InverseRequirement::expandDefaults(
349
ASTContext &ctx,
350
ArrayRef<Type> gps,
351
SmallVectorImpl<StructuralRequirement> &result) {
352
- if (!SWIFT_ENABLE_EXPERIMENTAL_NONCOPYABLE_GENERICS &&
353
- !ctx.LangOpts.hasFeature(Feature::NoncopyableGenerics))
+ if (!ctx.LangOpts.hasFeature(Feature::NoncopyableGenerics))
354
return;
355
356
for (auto gp : gps) {
0 commit comments