// RUN: %target-typecheck-verify-swift -debug-generic-signatures -warn-redundant-requirements 2>&1 | %FileCheck %s // https://github.com/apple/swift/issues/56840 // CHECK-LABEL: .P@ // CHECK-NEXT: Requirement signature: protocol P { // expected-warning@+2 {{redundant conformance constraint 'Self.Input' : 'FixedWidthInteger'}} // expected-warning@+1 {{redundant conformance constraint 'Self.Input' : 'UnsignedInteger'}} associatedtype Input: FixedWidthInteger & UnsignedInteger & BinaryInteger associatedtype Output: FixedWidthInteger & SignedInteger & BinaryInteger where Output.Magnitude == Input }