Skip to content

Commit c0104a2

Browse files
[gardening] Remove unused diagnostics
1 parent f2fb247 commit c0104a2

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

include/swift/AST/DiagnosticsParse.def

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -542,8 +542,6 @@ ERROR(sil_objc_with_tail_elements,none,
542542
"alloc_ref [objc] cannot have tail allocated elements", ())
543543
ERROR(found_unqualified_instruction_in_qualified_function,none,
544544
"found unqualified instruction in qualified function '%0'", (StringRef))
545-
ERROR(sil_unknown_access_kind_or_enforcement,none,
546-
"expected access kind or enforcement", ())
547545
ERROR(sil_expected_access_kind,none,
548546
"%0 instruction must have explicit access kind", (StringRef))
549547
ERROR(sil_expected_access_enforcement,none,
@@ -1172,8 +1170,6 @@ ERROR(expr_keypath_expected_property_or_type,PointsToFirstBadToken,
11721170
"expected property or type name within '#keyPath(...)'", ())
11731171
ERROR(expr_keypath_expected_rparen,PointsToFirstBadToken,
11741172
"expected ')' to complete '#keyPath' expression", ())
1175-
ERROR(expr_keypath_compound_name,none,
1176-
"cannot use compound name %0 in '#keyPath' expression", (DeclName))
11771173

11781174
// Selector expressions.
11791175
ERROR(expr_selector_expected_lparen,PointsToFirstBadToken,

0 commit comments

Comments
 (0)