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
non-inline modules in proc macro input are unstable
162
162
163
+
expand_or_patterns_back_compat = the meaning of the `pat` fragment specifier is changing in Rust 2021, which may affect this macro
164
+
.suggestion = use pat_param to preserve semantics
165
+
163
166
expand_proc_macro_back_compat = using an old version of `{$crate_name}`
164
167
.note = older versions of the `{$crate_name}` crate no longer compile; please update to `{$crate_name}` v{$fixed_version}, or switch to one of the `{$crate_name}` alternatives
Copy file name to clipboardExpand all lines: compiler/rustc_lint/messages.ftl
-14Lines changed: 0 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -407,9 +407,6 @@ lint_invalid_asm_label_named = avoid using named labels in inline assembly
407
407
.note = see the asm section of Rust By Example <https://doc.rust-lang.org/nightly/rust-by-example/unsafe/asm.html#labels> for more information
408
408
lint_invalid_asm_label_no_span = the label may be declared in the expansion of a macro
409
409
410
-
lint_invalid_crate_type_value = invalid `crate_type` value
411
-
.suggestion = did you mean
412
-
413
410
# FIXME: we should ordinalize $valid_up_to when we add support for doing so
414
411
lint_invalid_from_utf8_checked = calls to `{$method}` with an invalid literal always return an error
415
412
.label = the literal was valid UTF-8 up to the {$valid_up_to} bytes
@@ -637,9 +634,6 @@ lint_opaque_hidden_inferred_bound = opaque type `{$ty}` does not satisfy its ass
637
634
638
635
lint_opaque_hidden_inferred_bound_sugg = add this bound
639
636
640
-
lint_or_patterns_back_compat = the meaning of the `pat` fragment specifier is changing in Rust 2021, which may affect this macro
641
-
.suggestion = use pat_param to preserve semantics
642
-
643
637
lint_out_of_scope_macro_calls = cannot find macro `{$path}` in the current scope when looking from {$location}
644
638
.label = not found from {$location}
645
639
.help = import `macro_rules` with `use` to make it callable above its definition
@@ -783,10 +777,6 @@ lint_symbol_intern_string_literal = using `Symbol::intern` on a string literal
783
777
lint_too_large_char_cast = value exceeds maximum `char` value
784
778
.note = maximum valid `char` value is `0x10FFFF`
785
779
786
-
lint_trailing_semi_macro = trailing semicolon in macro used in expression position
787
-
.note1 = macro invocations at the end of a block are treated as expressions
788
-
.note2 = to ignore the value produced by the macro, add a semicolon after the invocation of `{$name}`
789
-
790
780
lint_ty_qualified = usage of qualified `ty::{$ty}`
791
781
.suggestion = try importing it and using it unqualified
792
782
@@ -917,10 +907,6 @@ lint_untranslatable_diag = diagnostics should be created using translatable mess
917
907
lint_unused_allocation = unnecessary allocation, use `&` instead
918
908
lint_unused_allocation_mut = unnecessary allocation, use `&mut` instead
0 commit comments