Skip to content

Commit c7ad537

Browse files
aslrxwei
andauthored
Make diagnostics more user-friendly
Co-authored-by: Richard Wei <[email protected]>
1 parent 7a1d9a1 commit c7ad537

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/swift/AST/DiagnosticsSIL.def

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,7 @@ NOTE(autodiff_cannot_differentiate_through_multiple_results,none,
605605
NOTE(autodiff_cannot_differentiate_through_inout_arguments,none,
606606
"cannot differentiate through 'inout' arguments", ())
607607
NOTE(autodiff_cannot_differentiate_through_direct_yield,none,
608-
"cannot differentiate through a direct yield result", ())
608+
"cannot differentiate through a '_read' accessor", ())
609609
NOTE(autodiff_enums_unsupported,none,
610610
"differentiating enum values is not yet supported", ())
611611
NOTE(autodiff_stored_property_parent_not_differentiable,none,

0 commit comments

Comments
 (0)