Remove visit_struct_method
auto merge of #7559 : sanxiyn/rust/struct-method, r=z0w0

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