Skip to content

Commit a5c63ae

Browse files
committed
Rename CodegenContext::create_diag_handler as CodegenContext::create_dcx.
1 parent 590e0d9 commit a5c63ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/back/lto.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ pub(crate) fn run_fat(
183183
modules: Vec<FatLtoInput<GccCodegenBackend>>,
184184
cached_modules: Vec<(SerializedModule<ModuleBuffer>, WorkProduct)>,
185185
) -> Result<LtoModuleCodegen<GccCodegenBackend>, FatalError> {
186-
let diag_handler = cgcx.create_diag_handler();
186+
let diag_handler = cgcx.create_dcx();
187187
let lto_data = prepare_lto(cgcx, &diag_handler)?;
188188
/*let symbols_below_threshold =
189189
lto_data.symbols_below_threshold.iter().map(|c| c.as_ptr()).collect::<Vec<_>>();*/

0 commit comments

Comments
 (0)