mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
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:
@@ -1,6 +1,6 @@
|
||||
// RUN: %target-typecheck-verify-swift -enable-experimental-feature NoncopyableGenerics
|
||||
|
||||
// REQUIRES: noncopyable_generics
|
||||
|
||||
|
||||
protocol RegularProto {}
|
||||
protocol NCProto: RegularProto
|
||||
|
||||
Reference in New Issue
Block a user