Skip to content

Commit 5bf0a09

Browse files
committed
NFC: Remove white spaces in DiagnosticsSema.def
1 parent 455a3d5 commit 5bf0a09

File tree

1 file changed

+7
-12
lines changed

1 file changed

+7
-12
lines changed

include/swift/AST/DiagnosticsSema.def

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7813,30 +7813,25 @@ ERROR(lifetime_dependence_cannot_use_kind, none,
78137813
(StringRef, StringRef))
78147814
ERROR(lifetime_dependence_only_on_function_method_init_result, none,
78157815
"lifetime dependence specifiers may only be used on result of "
7816-
"functions, methods, initializers",
7817-
())
7816+
"functions, methods, initializers", ())
78187817
ERROR(lifetime_dependence_invalid_return_type, none,
78197818
"lifetime dependence can only be specified on ~Escapable results", ())
78207819
ERROR(lifetime_dependence_missing_ownership_modifier, none,
78217820
"lifetime dependence can only be specified on parameters with ownership "
78227821
"modifiers (borrowing, consuming, inout)", ())
78237822
ERROR(lifetime_dependence_cannot_infer_wo_ownership_modifier_on_method, none,
78247823
"cannot infer lifetime dependence, specify ownership modifier for the "
7825-
"method",
7826-
())
7827-
ERROR(lifetime_dependence_cannot_infer_wo_ambiguous_candidate, none,
7824+
"method", ())
7825+
ERROR(lifetime_dependence_cannot_infer_ambiguous_candidate, none,
78287826
"cannot infer lifetime dependence, multiple ~Escapable or ~Copyable "
78297827
"parameters with ownership modifiers, specify explicit lifetime "
7830-
"dependence",
7831-
())
7828+
"dependence", ())
78327829
ERROR(lifetime_dependence_cannot_infer_no_candidates, none,
7833-
"cannot infer lifetime dependence, no ~Escapable or ~Copyable "
7834-
"parameters with ownership modifiers present",
7835-
())
7830+
"cannot infer lifetime dependence, no parameters with ownership "
7831+
"modifiers present", ())
78367832
ERROR(lifetime_dependence_ctor_non_self_or_nil_return, none,
78377833
"expected nil or self as return values in an initializer with "
7838-
"lifetime dependent specifiers",
7839-
())
7834+
"lifetime dependent specifiers", ())
78407835

78417836
//===----------------------------------------------------------------------===//
78427837
// MARK: Transferring

0 commit comments

Comments
 (0)