NCGenerics: rebuild stdlib from its interface

When a NoncopyableGenericsMismatch happens between the compiler and
stdlib, allow the compiler to rebuild the stdlib from its interface
instead of exiting with an error.
This commit is contained in:
Kavon Farvardin
2024-02-15 15:11:32 -08:00
parent 7e4761a751
commit 08b71e0136
34 changed files with 56 additions and 59 deletions

View File

@@ -1,6 +1,6 @@
// RUN: %target-typecheck-verify-swift -enable-experimental-feature NoncopyableGenerics
// REQUIRES: noncopyable_generics
protocol RegularProto {}
protocol NCProto: RegularProto