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
.addr_metadata_suggestion = use explicit `std::ptr::eq` method to compare metadata and addresses
3
3
.addr_suggestion = use `std::ptr::addr_eq` or untyped pointers to only compare their addresses
4
4
5
-
lint_array_into_iter =
6
-
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 2021
7
-
.use_iter_suggestion = use `.iter()` instead of `.into_iter()` to avoid ambiguity
8
-
.remove_into_iter_suggestion = or remove `.into_iter()` to iterate by value
9
-
.use_explicit_into_iter_suggestion =
10
-
or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value
11
-
12
5
lint_async_fn_in_trait = use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
13
6
.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`
14
7
.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
@@ -552,6 +545,13 @@ lint_renamed_lint = lint `{$name}` has been renamed to `{$replace}`
552
545
553
546
lint_requested_level = requested on the command line with `{$level}{$lint_name}`
554
547
548
+
lint_shadowed_into_iter =
549
+
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}
550
+
.use_iter_suggestion = use `.iter()` instead of `.into_iter()` to avoid ambiguity
551
+
.remove_into_iter_suggestion = or remove `.into_iter()` to iterate by value
552
+
.use_explicit_into_iter_suggestion =
553
+
or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value
554
+
555
555
lint_span_use_eq_ctxt = use `.eq_ctxt()` instead of `.ctxt() == .ctxt()`
556
556
557
557
lint_supertrait_as_deref_target = this `Deref` implementation is covered by an implicit supertrait coercion
0 commit comments