We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 23666a9 + a05ab76 commit fd96c35Copy full SHA for fd96c35
test/Generics/requirement_machine_diagnostics.swift
@@ -1,7 +1,5 @@
1
// RUN: %target-typecheck-verify-swift -warn-redundant-requirements
2
3
-// REQUIRES: rdar106457182
4
-
5
func testInvalidConformance() {
6
// expected-error@+1 {{type 'T' constrained to non-protocol, non-class type 'Int'}}
7
func invalidIntConformance<T>(_: T) where T: Int {}
0 commit comments