mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Merge pull request #71470 from nate-chandler/bitwise-copyable/same-file
[BitwiseCopyable] Require conformance in same module as declaration.
This commit is contained in:
@@ -7635,6 +7635,9 @@ NOTE(add_nominal_bitwise_copyable_conformance,none,
|
||||
NOTE(add_generic_parameter_non_bitwise_copyable_conformance,none,
|
||||
"consider making generic parameter %0 conform to the 'BitwiseCopyable' protocol",
|
||||
(Type))
|
||||
ERROR(bitwise_copyable_outside_module,none,
|
||||
"conformance to 'BitwiseCopyable' must occur in the same module as %kind0",
|
||||
(const ValueDecl *))
|
||||
|
||||
// -- older ones below --
|
||||
|
||||
|
||||
Reference in New Issue
Block a user