Files
swift-mirror/test/CrossImport/Inputs/lib-templates/lib/swift/DeclaringLibrary.swiftinterface
Allan Shortlidge 9e67cf00cf Sema: Improve MemberImportVisibility diagnostics for cross import overlays.
When `MemberImportVisibility` is enabled and a declaration from a cross import
overlay is diagnosed because it has not been imported, suggest imports of the
declaring and bystanding modules instead of the cross import overlay module
(which is an implementation detail).

Resolves rdar://149307959.
2025-04-21 16:51:39 -07:00

10 lines
253 B
Plaintext

// swift-interface-format-version: 1.0
// swift-module-flags: -swift-version 5 -enable-library-evolution -module-name DeclaringLibrary -enable-private-imports
import Swift
public struct DeclaringLibraryTy {
public init()
}
public struct ShadowTy {}