We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents da0c70f + e9c7470 commit 576dfcaCopy full SHA for 576dfca
lib/Sema/TypeCheckConcurrency.cpp
@@ -1386,9 +1386,9 @@ void swift::diagnoseMissingExplicitSendable(NominalTypeDecl *nominal) {
1386
// based on the requirements harvested from instance storage.
1387
1388
// Form the where clause containing all of the requirements.
1389
- std::string whereClause;
+ SmallString<64> whereClause;
1390
{
1391
- llvm::raw_string_ostream out(whereClause);
+ llvm::raw_svector_ostream out(whereClause);
1392
llvm::interleaveComma(
1393
requirements, out,
1394
[&](const Requirement &req) {
0 commit comments