Skip to content

Commit 64326bc

Browse files
committed
Merge pull request #2954 from practicalswift/remove-unused-diagnostic-attr_warn_unused_result_mutable_variable
[gardening] Remove unused diagnostic attr_warn_unused_result_mutable_variable
2 parents b254ddd + fd09cfd commit 64326bc

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

include/swift/AST/DiagnosticsSema.def

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1849,12 +1849,6 @@ ERROR(lazy_not_observable,none,
18491849
ERROR(attr_for_debugger_support_only,none,
18501850
"@LLDBDebuggerSupport may only be used when debugger support is on", ())
18511851

1852-
// warn_unused_result
1853-
ERROR(attr_warn_unused_result_mutable_variable,none,
1854-
"'mutable_variant' parameter of 'warn_unused_result' attribute does not "
1855-
"make sense on a %select{non-function|non-method|non-instance method|"
1856-
"method of a class|mutating method}0", (unsigned))
1857-
18581852
//------------------------------------------------------------------------------
18591853
// Type Check Expressions
18601854
//------------------------------------------------------------------------------

0 commit comments

Comments
 (0)