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
422
+
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
423
+
.note = the macro is defined here
424
+
425
+
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 +444,10 @@ lint_map_unit_fn = `Iterator::map` call that discard the iterator's values
427
444
.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
445
.suggestion = you might have meant to use `Iterator::for_each`
429
446
447
+
lint_metavariable_still_repeating = variable '{$name}' is still repeating at this depth
448
+
449
+
lint_metavariable_wrong_operator = meta-variable repeats with different Kleene operator
450
+
430
451
lint_missing_fragment_specifier = missing fragment specifier
431
452
432
453
lint_mixed_script_confusables =
@@ -583,8 +604,14 @@ lint_pattern_in_bodiless = patterns aren't allowed in functions without bodies
583
604
lint_pattern_in_foreign = patterns aren't allowed in foreign function declarations
584
605
.label = pattern not allowed in foreign function
585
606
607
+
lint_private_extern_crate_reexport =
608
+
extern crate `{$ident}` is private, and cannot be re-exported (error E0365), consider declaring with `pub`
609
+
586
610
lint_proc_macro_back_compat_rental = using an old version of `rental`
587
611
612
+
lint_proc_macro_derive_resolution_fallback = cannot find {$ns} `{$ident}` in this scope
613
+
.label = names from parent modules are not accessible without an explicit import
614
+
588
615
lint_ptr_null_checks_fn_ptr = function pointers are not nullable, so checking them for null will always return false
589
616
.help = wrap the function pointer inside an `Option` and use `Option::is_none` to check for null pointer value
590
617
.label = expression has type `{$orig_ty}`
@@ -658,8 +685,15 @@ lint_undropped_manually_drops = calls to `std::mem::drop` with `std::mem::Manual
658
685
lint_ungated_async_fn_track_caller = `#[track_caller]` on async functions is a no-op
659
686
.label = this function will not propagate the caller location
660
687
661
-
lint_unicode_text_flow =
662
-
unicode codepoint changing visible direction of text present in comment
688
+
lint_unicode_text_flow = unicode codepoint changing visible direction of text present in comment
689
+
.label = {$num_codepoints->
690
+
[1] this comment contains an invisible unicode text flow control codepoint
691
+
*[other] this comment contains invisible unicode text flow control codepoints
692
+
}
693
+
.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
694
+
.suggestion = if their presence wasn't intentional, you can remove them
695
+
.label_comment_char = {$c_debug}
696
+
663
697
664
698
lint_unit_bindings = binding has unit type `()`
665
699
.label = this pattern is inferred to be the unit type `()`
0 commit comments