Skip to content

Commit ca5347a

Browse files
aslrxwei
andauthored
Improve diagnostics
Co-authored-by: Richard Wei <[email protected]>
1 parent 202c47f commit ca5347a

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
@@ -608,7 +608,7 @@ NOTE(autodiff_cannot_differentiate_through_multiple_results,none,
608608
NOTE(autodiff_cannot_differentiate_through_inout_arguments,none,
609609
"cannot differentiate through 'inout' arguments", ())
610610
NOTE(autodiff_cannot_differentiate_through_direct_yield,none,
611-
"cannot differentiate through a direct yield result", ())
611+
"cannot differentiate through a '_read' accessor", ())
612612
NOTE(autodiff_enums_unsupported,none,
613613
"differentiating enum values is not yet supported", ())
614614
NOTE(autodiff_stored_property_parent_not_differentiable,none,

0 commit comments

Comments
 (0)