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
macro-expanded `macro_export` macros from the current crate cannot be referred to by absolute paths
423
+
lint_macro_expanded_macro_exports_accessed_by_absolute_paths = macro-expanded `macro_export` macros from the current crate cannot be referred to by absolute paths
424
+
.note = the macro is defined here
425
+
426
+
lint_macro_is_private = macro `{$ident}` is private
deprecated `#[macro_use]` attribute used to import macros should be replaced at use sites with a `use` item to import the macro instead
@@ -427,6 +445,10 @@ lint_map_unit_fn = `Iterator::map` call that discard the iterator's values
427
445
.map_label = after this call to map, the resulting iterator is `impl Iterator<Item = ()>`, which means the only information carried by the iterator is the number of items
428
446
.suggestion = you might have meant to use `Iterator::for_each`
429
447
448
+
lint_metavariable_still_repeating = variable '{$name}' is still repeating at this depth
449
+
450
+
lint_metavariable_wrong_operator = meta-variable repeats with different Kleene operator
451
+
430
452
lint_missing_fragment_specifier = missing fragment specifier
431
453
432
454
lint_mixed_script_confusables =
@@ -583,8 +605,14 @@ lint_pattern_in_bodiless = patterns aren't allowed in functions without bodies
583
605
lint_pattern_in_foreign = patterns aren't allowed in foreign function declarations
584
606
.label = pattern not allowed in foreign function
585
607
608
+
lint_private_extern_crate_reexport =
609
+
extern crate `{$ident}` is private, and cannot be re-exported (error E0365), consider declaring with `pub`
610
+
586
611
lint_proc_macro_back_compat_rental = using an old version of `rental`
587
612
613
+
lint_proc_macro_derive_resolution_fallback = cannot find {$ns} `{$ident}` in this scope
614
+
.label = names from parent modules are not accessible without an explicit import
615
+
588
616
lint_ptr_null_checks_fn_ptr = function pointers are not nullable, so checking them for null will always return false
589
617
.help = wrap the function pointer inside an `Option` and use `Option::is_none` to check for null pointer value
590
618
.label = expression has type `{$orig_ty}`
@@ -606,6 +634,12 @@ lint_reason_must_be_string_literal = reason must be a string literal
606
634
607
635
lint_reason_must_come_last = reason in lint attribute must come last
608
636
637
+
lint_redundant_import = the item `{$ident}` is imported redundantly
638
+
.label_imported_here = the item `{ident}` is already imported here
639
+
.label_defined_here = the item `{ident}` is already defined here
640
+
.label_imported_prelude = the item `{ident}` is already imported by the extern prelude
641
+
.label_defined_prelude = the item `{ident}` is already defined by the extern prelude
642
+
609
643
lint_redundant_semicolons =
610
644
unnecessary trailing {$multiple->
611
645
[true] semicolons
@@ -658,8 +692,15 @@ lint_undropped_manually_drops = calls to `std::mem::drop` with `std::mem::Manual
658
692
lint_ungated_async_fn_track_caller = `#[track_caller]` on async functions is a no-op
659
693
.label = this function will not propagate the caller location
660
694
661
-
lint_unicode_text_flow =
662
-
unicode codepoint changing visible direction of text present in comment
695
+
lint_unicode_text_flow = unicode codepoint changing visible direction of text present in comment
696
+
.label = {$num_codepoints->
697
+
[1] this comment contains an invisible unicode text flow control codepoint
698
+
*[other] this comment contains invisible unicode text flow control codepoints
699
+
}
700
+
.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
701
+
.suggestion = if their presence wasn't intentional, you can remove them
702
+
.label_comment_char = {$c_debug}
703
+
663
704
664
705
lint_unit_bindings = binding has unit type `()`
665
706
.label = this pattern is inferred to be the unit type `()`
0 commit comments