[diags][cxx-interop] Update diagnostic for 'begin' to suggest using a for-loop instead.

Does not fix the fix-it. The current fix it will be left as a stop-gap solution and we can hopefully update this fix it in the near future to actually plop in a for loop (too much work for this PR though).
This commit is contained in:
zoecarver
2023-05-03 09:05:53 -07:00
parent e4a0b9e8c5
commit b2988f6e98
3 changed files with 3 additions and 3 deletions

View File

@@ -195,7 +195,7 @@ NOTE(mark_safe_to_import, none, "annotate method '%0' with 'SWIFT_RETURNS_INDEPE
NOTE(at_to_subscript, none, "do you want to replace it with a call "
"to the subscript operator?",
())
NOTE(get_swift_iterator, none, "do you want to make a Swift iterator instead?",
NOTE(use_collection_apis, none, "do you want to use a for-loop instead?",
())
NOTE(replace_with_nil, none, "do you want to compare against 'nil' instead?",
())