Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion include/swift/AST/DiagnosticsClangImporter.def
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,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(use_collection_apis, none, "do you want to use a for-loop instead?",
NOTE(use_collection_apis, none, "do you want to use a for-in loop instead?",
())
NOTE(replace_with_nil, none, "do you want to compare against 'nil' instead?",
())
Expand Down
2 changes: 1 addition & 1 deletion test/Interop/Cxx/class/fixits-for-std-vector.swift
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import CxxStdlib

public func test(v: V) {
// CHECK: note: C++ method 'begin' that returns an iterator is unavailable
// CHECK: note: do you want to use a for-loop instead?
// CHECK: note: do you want to use a for-in loop instead?
// CHECK: ^~~~~
// CHECK: makeIterator
_ = v.begin()
Expand Down