Skip to content

Commit 598acff

Browse files
committed
make opt diagnostic kinds printable
1 parent 6b9236e commit 598acff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_codegen_llvm/src/llvm/diagnostic.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ use libc::c_uint;
99
use super::{DiagnosticInfo, SMDiagnostic};
1010
use rustc_span::InnerSpan;
1111

12-
#[derive(Copy, Clone)]
12+
#[derive(Copy, Clone, Debug)]
1313
pub enum OptimizationDiagnosticKind {
1414
OptimizationRemark,
1515
OptimizationMissed,

0 commit comments

Comments
 (0)