mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[Diag] Reword the tuple shuffle diagnostic
"reorder" seems a bit less jargony than "shuffle", and include the labels that are being reordered.
This commit is contained in:
@@ -7833,9 +7833,9 @@ ERROR(result_builder_buildpartialblock_accumulated_not_accessible,none,
|
||||
// MARK: Tuple Shuffle Diagnostics
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
WARNING(warn_reordering_tuple_shuffle_deprecated,Deprecation,
|
||||
"expression shuffles the elements of this tuple; "
|
||||
"this behavior is deprecated", ())
|
||||
WARNING(warn_reordering_tuple_shuffle_deprecated,Deprecation,
|
||||
"implicit reordering of tuple elements from '%0' to '%1' is deprecated",
|
||||
(StringRef, StringRef))
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// MARK: Implicit conversion diagnostics
|
||||
|
||||
Reference in New Issue
Block a user