Histopathology reports in melanoma patients can predict immune-related adverse events during checkpoint inhibitor treatment.