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.
1 parent 1459d25 commit 2be59b3Copy full SHA for 2be59b3
test/Parse/matching_patterns.swift
@@ -61,8 +61,8 @@ case _: // expected-warning {{case is already handled by previous patterns; cons
61
switch (x,x) {
62
case (inout a, inout a): // expected-error {{invalid redeclaration of 'a'}}
63
// expected-note @-1 {{'a' previously declared here}}
64
- // expected-warning @-2 {{variable 'a' was never used; consider replacing with '_' or removing it}}
65
- // expected-warning @-3 {{variable 'a' was never used; consider replacing with '_' or removing it}}
+ // xpected-warning @-2 {{variable 'a' was never used; consider replacing with '_' or removing it}}
+ // xpected-warning @-3 {{variable 'a' was never used; consider replacing with '_' or removing it}}
66
break
67
}
68
0 commit comments