File tree Expand file tree Collapse file tree 3 files changed +5
-0
lines changed Expand file tree Collapse file tree 3 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -636,6 +636,7 @@ class JSONFixitWriter : public DiagnosticConsumer {
636
636
Info.ID == diag::selector_literal_deprecated_suggest.ID ||
637
637
Info.ID == diag::attr_noescape_deprecated.ID ||
638
638
Info.ID == diag::attr_autoclosure_escaping_deprecated.ID ||
639
+ Info.ID == diag::attr_warn_unused_result_removed.ID ||
639
640
Info.ID == diag::any_as_anyobject_fixit.ID ||
640
641
Info.ID == diag::deprecated_protocol_composition.ID ||
641
642
Info.ID == diag::deprecated_protocol_composition_single.ID ||
Original file line number Diff line number Diff line change @@ -233,6 +233,8 @@ func testescape(rec: ()->()) {
233
233
fnWithClosure { rec ( ) }
234
234
}
235
235
236
+ @warn_unused_result func testDeprecatedAttr( ) -> Int { return 0 }
237
+
236
238
protocol Prot1 { }
237
239
protocol Prot2 {
238
240
associatedtype Ty = Prot1
Original file line number Diff line number Diff line change @@ -236,6 +236,8 @@ func testescape(rec: @escaping ()->()) {
236
236
fnWithClosure { rec() }
237
237
}
238
238
239
+ func testDeprecatedAttr() -> Int { return 0 }
240
+
239
241
protocol Prot1 {}
240
242
protocol Prot2 {
241
243
associatedtype Ty = Prot1
You can’t perform that action at this time.
0 commit comments