public struct Outer { public struct Inner { public init() {} } } extension Outer.Inner { public func extensionMethod(t: T) -> U { while true {} } }