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
[true] `&` without an explicit lifetime name cannot be used here
21
-
*[false] `'_` cannot be used here
22
-
}
23
-
.suggestion = use the `'static` lifetime
24
-
.note = cannot automatically infer `'static` because of other lifetimes in scope
25
-
26
15
lint_async_fn_in_trait = use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
27
16
.note = you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
28
17
.suggestion = you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
@@ -330,10 +319,6 @@ lint_forgetting_references = calls to `std::mem::forget` with a reference instea
330
319
lint_function_casts_as_integer = direct cast of function item into an integer
331
320
.cast_as_fn = first cast to a pointer `as *const ()`
332
321
333
-
lint_hidden_glob_reexport = private item shadows public glob re-export
334
-
.note_glob_reexport = the name `{$name}` in the {$namespace} namespace is supposed to be publicly re-exported here
335
-
.note_private_item = but the private item here shadows it
336
-
337
322
lint_hidden_lifetime_parameters = hidden lifetime parameters in types are deprecated
.suggestion = remove the unnecessary path segments
917
-
918
900
lint_unpredictable_fn_pointer_comparisons = function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique
919
901
.note_duplicated_fn = the address of the same function can vary between different codegen units
920
902
.note_deduplicated_fn = furthermore, different functions could have the same address after being merged together
0 commit comments