mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Merge pull request #29895 from mdiep/remove-backticks-in-diagnostics
Use single quotes instead of backticks in diagnostics
This commit is contained in:
@@ -447,12 +447,12 @@ ERROR(constexpr_imported_func_not_onone, none, "imported constant evaluable "
|
||||
|
||||
ERROR(non_physical_addressof,none,
|
||||
"addressof only works with purely physical lvalues; "
|
||||
"use `withUnsafePointer` or `withUnsafeBytes` unless you're implementing "
|
||||
"`withUnsafePointer` or `withUnsafeBytes`", ())
|
||||
"use 'withUnsafePointer' or 'withUnsafeBytes' unless you're implementing "
|
||||
"'withUnsafePointer' or 'withUnsafeBytes'", ())
|
||||
ERROR(non_borrowed_indirect_addressof,none,
|
||||
"addressof only works with borrowable in-memory rvalues; "
|
||||
"use `withUnsafePointer` or `withUnsafeBytes` unless you're implementing "
|
||||
"`withUnsafePointer` or `withUnsafeBytes`", ())
|
||||
"use 'withUnsafePointer' or 'withUnsafeBytes' unless you're implementing "
|
||||
"'withUnsafePointer' or 'withUnsafeBytes'", ())
|
||||
|
||||
REMARK(opt_remark_passed, none, "%0", (StringRef))
|
||||
REMARK(opt_remark_missed, none, "%0", (StringRef))
|
||||
|
||||
@@ -4843,10 +4843,10 @@ ERROR(property_wrapper_type_not_usable_from_inline,none,
|
||||
"must be '@usableFromInline' or public",
|
||||
(bool, bool))
|
||||
WARNING(property_wrapper_wrapperValue,none,
|
||||
"property wrapper's `wrapperValue` property should be renamed to "
|
||||
"property wrapper's 'wrapperValue' property should be renamed to "
|
||||
"'projectedValue'; use of 'wrapperValue' is deprecated", ())
|
||||
WARNING(property_wrapper_init_initialValue,none,
|
||||
"property wrapper's `init(initialValue:)` should be renamed "
|
||||
"property wrapper's 'init(initialValue:)' should be renamed "
|
||||
"to 'init(wrappedValue:)'; use of 'init(initialValue:)' is deprecated",
|
||||
())
|
||||
ERROR(property_wrapper_projection_value_missing,none,
|
||||
|
||||
Reference in New Issue
Block a user