nhwn: use plain u32 in DebugLoc
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
use super::metadata::{file_metadata, UNKNOWN_COLUMN_NUMBER, UNKNOWN_LINE_NUMBER};
|
||||
use super::metadata::file_metadata;
|
||||
use super::utils::DIB;
|
||||
use rustc_codegen_ssa::mir::debuginfo::{DebugScope, FunctionDebugContext};
|
||||
use rustc_codegen_ssa::traits::*;
|
||||
@@ -102,8 +102,8 @@ fn make_mir_scope(
|
||||
DIB(cx),
|
||||
parent_scope.dbg_scope.unwrap(),
|
||||
file_metadata,
|
||||
loc.line.map_or(UNKNOWN_LINE_NUMBER, |n| n.get()),
|
||||
loc.col.map_or(UNKNOWN_COLUMN_NUMBER, |n| n.get()),
|
||||
loc.line,
|
||||
loc.col,
|
||||
)
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user