@@ -433,13 +433,13 @@ ERROR(wrong_linkage_for_serialized_function,none,
433433 " function has wrong linkage to be called from %0" , (StringRef))
434434NOTE(performance_called_from,none,
435435 " called from here" , ())
436- ERROR (manualownership_copy,none,
437- " explicit 'copy' required here; please report this vague diagnostic as a bug" , ())
438- ERROR (manualownership_copy_happened,none,
436+ GROUPED_WARNING (manualownership_copy,SemanticCopies ,none,
437+ " implicit 'copy' happens here; please report this vague diagnostic as a bug" , ())
438+ GROUPED_WARNING (manualownership_copy_happened,SemanticCopies ,none,
439439 " accessing %0 may produce a copy; write 'copy' to acknowledge or 'consume' to elide" , (Identifier))
440- ERROR (manualownership_copy_demanded,none,
440+ GROUPED_WARNING (manualownership_copy_demanded,SemanticCopies ,none,
441441 " independent copy of %0 is required here; write 'copy' to acknowledge or 'consume' to elide" , (Identifier))
442- ERROR (manualownership_copy_captured,none,
442+ GROUPED_WARNING (manualownership_copy_captured,SemanticCopies ,none,
443443 " closure capture of '%0' requires independent copy of it; write [%0 = copy %0] in the closure's capture list to acknowledge" , (StringRef))
444444
445445// 'transparent' diagnostics
0 commit comments