This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ impl<'tcx> LateLintPass<'tcx> for NewWithoutDefault {
6868 ..
6969 } ) = item. kind
7070 {
71- for assoc_item in items {
71+ for assoc_item in * items {
7272 if assoc_item. kind == ( hir:: AssocItemKind :: Fn { has_self : false } ) {
7373 let impl_item = cx. tcx . hir ( ) . impl_item ( assoc_item. id ) ;
7474 if in_external_macro ( cx. sess ( ) , impl_item. span ) {
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ impl<'tcx> LateLintPass<'tcx> for PartialEqNeImpl {
4242 if let Some ( eq_trait) = cx. tcx. lang_items( ) . eq_trait( ) ;
4343 if trait_ref. path. res. def_id( ) == eq_trait;
4444 then {
45- for impl_item in impl_items {
45+ for impl_item in * impl_items {
4646 if impl_item. ident. name == sym:: ne {
4747 span_lint_hir(
4848 cx,
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ impl<'tcx> LateLintPass<'tcx> for SerdeApi {
3636 if did == visit_did {
3737 let mut seen_str = None ;
3838 let mut seen_string = None ;
39- for item in items {
39+ for item in * items {
4040 match item. ident . as_str ( ) {
4141 "visit_str" => seen_str = Some ( item. span ) ,
4242 "visit_string" => seen_string = Some ( item. span ) ,
You can’t perform that action at this time.
0 commit comments