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
-28Lines changed: 0 additions & 28 deletions
Original file line number
Diff line number
Diff line change
@@ -44,9 +44,6 @@ lint_bad_attribute_argument = bad attribute argument
44
44
45
45
lint_bad_opt_access = {$msg}
46
46
47
-
lint_break_with_label_and_loop = this labeled break expression is easy to confuse with an unlabeled break with a labeled value expression
48
-
.suggestion = wrap this expression in parentheses
49
-
50
47
lint_builtin_allow_internal_unsafe =
51
48
`allow_internal_unsafe` allows defining macros using unsafe without triggering the `unsafe_code` lint at their call site
52
49
@@ -765,11 +762,6 @@ lint_range_endpoint_out_of_range = range endpoint is out of range for `{$ty}`
765
762
766
763
lint_range_use_inclusive_range = use an inclusive range instead
767
764
768
-
769
-
lint_raw_prefix = prefix `'r` is reserved
770
-
.label = reserved prefix
771
-
.suggestion = insert whitespace here to avoid this being parsed as a prefix in Rust 2021
772
-
773
765
lint_reason_must_be_string_literal = reason must be a string literal
774
766
775
767
lint_reason_must_come_last = reason in lint attribute must come last
@@ -801,16 +793,6 @@ lint_renamed_lint = lint `{$name}` has been renamed to `{$replace}`
801
793
802
794
lint_requested_level = requested on the command line with `{$level}{$lint_name}`
803
795
804
-
lint_reserved_multihash = reserved token in Rust 2024
805
-
.suggestion = insert whitespace here to avoid this being parsed as a forbidden token in Rust 2024
806
-
807
-
lint_reserved_prefix = prefix `{$prefix}` is unknown
808
-
.label = unknown prefix
809
-
.suggestion = insert whitespace here to avoid this being parsed as a prefix in Rust 2021
810
-
811
-
lint_reserved_string = will be parsed as a guarded string in Rust 2024
812
-
.suggestion = insert whitespace here to avoid this being parsed as a guarded string in Rust 2024
813
-
814
796
lint_shadowed_into_iter =
815
797
this method call resolves to `<&{$target} as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<{$target} as IntoIterator>::into_iter` in Rust {$edition}
816
798
.use_iter_suggestion = use `.iter()` instead of `.into_iter()` to avoid ambiguity
@@ -927,16 +909,6 @@ lint_unexpected_cfg_value_specify_value = specify a config value
927
909
lint_ungated_async_fn_track_caller = `#[track_caller]` on async functions is a no-op
928
910
.label = this function will not propagate the caller location
929
911
930
-
lint_unicode_text_flow = unicode codepoint changing visible direction of text present in comment
931
-
.label = {$num_codepoints->
932
-
[1] this comment contains an invisible unicode text flow control codepoint
933
-
*[other] this comment contains invisible unicode text flow control codepoints
934
-
}
935
-
.note = these kind of unicode codepoints change the way text flows on applications that support them, but can cause confusion because they change the order of characters on the screen
936
-
.suggestion = if their presence wasn't intentional, you can remove them
937
-
.label_comment_char = {$c_debug}
938
-
939
-
940
912
lint_unit_bindings = binding has unit type `()`
941
913
.label = this pattern is inferred to be the unit type `()`
.help = unicode escape sequences cannot be used as a byte or in a byte string
953
970
971
+
parse_unicode_text_flow = unicode codepoint changing visible direction of text present in comment
972
+
.label = {$num_codepoints->
973
+
[1] this comment contains an invisible unicode text flow control codepoint
974
+
*[other] this comment contains invisible unicode text flow control codepoints
975
+
}
976
+
.note = these kind of unicode codepoints change the way text flows on applications that support them, but can cause confusion because they change the order of characters on the screen
977
+
.suggestion = if their presence wasn't intentional, you can remove them
0 commit comments