You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: compiler/rustc_lint/messages.ftl
+4
Original file line number
Diff line number
Diff line change
@@ -79,6 +79,10 @@ lint_builtin_deprecated_attr_used = use of deprecated attribute `{$name}`: no lo
79
79
lint_builtin_deref_nullptr = dereferencing a null pointer
80
80
.label = this code causes undefined behavior when executed
81
81
82
+
lint_builtin_double_negation = use of a double negation
83
+
lint_builtin_double_negation_help = consider adding parentheses between the negation operators or using the `-=` operator if you meant to decrement the value
84
+
lint_builtin_double_negation_note = the prefix `--` could be misinterpreted as a decrement operator which exists in other languages
85
+
82
86
lint_builtin_ellipsis_inclusive_range_patterns = `...` range patterns are deprecated
0 commit comments