make opt diagnostic kinds printable

This commit is contained in:
Rémy Rakic 2023-07-14 11:11:59 +00:00
parent 6b9236ed5a
commit 598acffa60

View file

@ -9,7 +9,7 @@ use libc::c_uint;
use super::{DiagnosticInfo, SMDiagnostic};
use rustc_span::InnerSpan;
#[derive(Copy, Clone)]
#[derive(Copy, Clone, Debug)]
pub enum OptimizationDiagnosticKind {
OptimizationRemark,
OptimizationMissed,