Skip to content

Commit a0ae8a1

Browse files
committed
Parse: Remove an unused diagnostic
1 parent ab03052 commit a0ae8a1

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

include/swift/AST/DiagnosticsParse.def

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1042,8 +1042,6 @@ ERROR(expected_else_after_guard,PointsToFirstBadToken,
10421042
"expected 'else' after 'guard' condition", ())
10431043
ERROR(expected_lbrace_after_guard,PointsToFirstBadToken,
10441044
"expected '{' after 'guard' else", ())
1045-
ERROR(bound_var_guard_body,none,
1046-
"variable declared in 'guard' condition is not usable in its body", ())
10471045

10481046
// While Statement
10491047
ERROR(expected_condition_while,PointsToFirstBadToken,

0 commit comments

Comments
 (0)