]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_monomorphize/src/partitioning/merging.rs
Rollup merge of #100647 - obeis:issue-99875, r=nagisa
[rust.git] / compiler / rustc_monomorphize / src / partitioning / merging.rs
index 09cadc907b18a96dd566e28547ce84686f7a4827..02bb8dea0c01ef1a8a3b1f378b118015145f7721 100644 (file)
@@ -83,7 +83,7 @@ pub fn merge_codegen_units<'tcx>(
 
         for cgu in codegen_units.iter_mut() {
             if let Some(new_cgu_name) = new_cgu_names.get(&cgu.name()) {
-                if cx.tcx.sess.opts.debugging_opts.human_readable_cgu_names {
+                if cx.tcx.sess.opts.unstable_opts.human_readable_cgu_names {
                     cgu.set_name(Symbol::intern(&new_cgu_name));
                 } else {
                     // If we don't require CGU names to be human-readable, we