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 {
68
68
..
69
69
} ) = item. kind
70
70
{
71
- for assoc_item in items {
71
+ for assoc_item in * items {
72
72
if assoc_item. kind == ( hir:: AssocItemKind :: Fn { has_self : false } ) {
73
73
let impl_item = cx. tcx . hir ( ) . impl_item ( assoc_item. id ) ;
74
74
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 {
42
42
if let Some ( eq_trait) = cx. tcx. lang_items( ) . eq_trait( ) ;
43
43
if trait_ref. path. res. def_id( ) == eq_trait;
44
44
then {
45
- for impl_item in impl_items {
45
+ for impl_item in * impl_items {
46
46
if impl_item. ident. name == sym:: ne {
47
47
span_lint_hir(
48
48
cx,
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ impl<'tcx> LateLintPass<'tcx> for SerdeApi {
36
36
if did == visit_did {
37
37
let mut seen_str = None ;
38
38
let mut seen_string = None ;
39
- for item in items {
39
+ for item in * items {
40
40
match item. ident . as_str ( ) {
41
41
"visit_str" => seen_str = Some ( item. span ) ,
42
42
"visit_string" => seen_string = Some ( item. span ) ,
You can’t perform that action at this time.
0 commit comments