diff --git a/src/driver/aot.rs b/src/driver/aot.rs index aaead1ffc5f..49f51f9f956 100644 --- a/src/driver/aot.rs +++ b/src/driver/aot.rs @@ -412,7 +412,7 @@ pub(crate) fn run_aot( ) .0 } - CguReuse::PreLto => unreachable!(), + CguReuse::PreLto => unreachable!("LTO not yet supported"), CguReuse::PostLto => { concurrency_limiter.job_already_done(); OngoingModuleCodegen::Sync(reuse_workproduct_for_cgu(tcx, cgu))