@@ -1069,9 +1069,6 @@ static const char *getImportFailureString(swift::serialization::Status status) {
1069
1069
case swift::serialization::Status::NotInOSSA:
1070
1070
return " The module file was not compiled with -enable-ossa-modules when it "
1071
1071
" was required to do so." ;
1072
- case swift::serialization::Status::NoncopyableGenericsMismatch:
1073
- return " The module file was compiled with a mismatching "
1074
- " -enable-experimental-feature NoncopyableGenerics setting." ;
1075
1072
case swift::serialization::Status::SDKMismatch:
1076
1073
return " The module file was built with a different SDK version." ;
1077
1074
}
@@ -1266,7 +1263,6 @@ static bool DeserializeAllCompilerFlags(swift::CompilerInvocation &invocation,
1266
1263
auto &langOpts = invocation.getLangOptions ();
1267
1264
info = swift::serialization::validateSerializedAST (
1268
1265
buf, invocation.getSILOptions ().EnableOSSAModules ,
1269
- langOpts.hasFeature (swift::Feature::NoncopyableGenerics),
1270
1266
/* requiredSDK*/ StringRef (), &extended_validation_info,
1271
1267
/* dependencies*/ nullptr , &searchPaths);
1272
1268
bool invalid_ast = info.status != swift::serialization::Status::Valid;
@@ -3486,8 +3482,7 @@ swift::ASTContext *SwiftASTContext::GetASTContext() {
3486
3482
std::make_unique<swift::ModuleInterfaceCheckerImpl>(*m_ast_context_ap,
3487
3483
moduleCachePath, prebuiltModuleCachePath,
3488
3484
swift::ModuleInterfaceLoaderOptions (),
3489
- swift::RequireOSSAModules_t (GetSILOptions ()),
3490
- swift::RequireNoncopyableGenerics_t (GetLanguageOptions ())));
3485
+ swift::RequireOSSAModules_t (GetSILOptions ())));
3491
3486
3492
3487
// 2. Create and install the module interface loader.
3493
3488
//
0 commit comments