We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c583fa6 commit 4a0f81fCopy full SHA for 4a0f81f
compiler/rustc_session/src/session.rs
@@ -1121,10 +1121,7 @@ pub fn build_session(
1121
Arc::new(SearchPath::from_sysroot_and_triple(&sysroot, target_triple))
1122
};
1123
1124
- let prof = SelfProfilerRef::new(
1125
- self_profiler,
1126
- sopts.unstable_opts.time_passes.then(|| sopts.unstable_opts.time_passes_format),
1127
- );
+ let prof = SelfProfilerRef::new(self_profiler, Some(sopts.unstable_opts.time_passes_format));
1128
1129
let ctfe_backtrace = Lock::new(match env::var("RUSTC_CTFE_BACKTRACE") {
1130
Ok(ref val) if val == "immediate" => CtfeBacktrace::Immediate,
0 commit comments