@@ -1065,9 +1065,6 @@ static const char *getImportFailureString(swift::serialization::Status status) {
1065
1065
case swift::serialization::Status::NotInOSSA:
1066
1066
return " The module file was not compiled with -enable-ossa-modules when it "
1067
1067
" was required to do so." ;
1068
- case swift::serialization::Status::NoncopyableGenericsMismatch:
1069
- return " The module file was compiled with a mismatching "
1070
- " -enable-experimental-feature NoncopyableGenerics setting." ;
1071
1068
case swift::serialization::Status::SDKMismatch:
1072
1069
return " The module file was built with a different SDK version." ;
1073
1070
}
@@ -1262,7 +1259,6 @@ static bool DeserializeAllCompilerFlags(swift::CompilerInvocation &invocation,
1262
1259
auto &langOpts = invocation.getLangOptions ();
1263
1260
info = swift::serialization::validateSerializedAST (
1264
1261
buf, invocation.getSILOptions ().EnableOSSAModules ,
1265
- langOpts.hasFeature (swift::Feature::NoncopyableGenerics),
1266
1262
/* requiredSDK*/ StringRef (), &extended_validation_info,
1267
1263
/* dependencies*/ nullptr , &searchPaths);
1268
1264
bool invalid_ast = info.status != swift::serialization::Status::Valid;
@@ -3445,8 +3441,7 @@ swift::ASTContext *SwiftASTContext::GetASTContext() {
3445
3441
std::make_unique<swift::ModuleInterfaceCheckerImpl>(*m_ast_context_ap,
3446
3442
moduleCachePath, prebuiltModuleCachePath,
3447
3443
swift::ModuleInterfaceLoaderOptions (),
3448
- swift::RequireOSSAModules_t (GetSILOptions ()),
3449
- swift::RequireNoncopyableGenerics_t (GetLanguageOptions ())));
3444
+ swift::RequireOSSAModules_t (GetSILOptions ())));
3450
3445
3451
3446
// 2. Create and install the module interface loader.
3452
3447
//
0 commit comments