Remove visit_struct_method

This was introduced in 3038968 and missed in 0046ed9 when class-related codes were removed.