about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>2023-10-05 09:49:10 +0000
committerbjorn3 <17426603+bjorn3@users.noreply.github.com>2023-10-09 18:39:43 +0000
commit3c0d3f2bf1a830a23e117382a094e6d13f41e58b (patch)
tree8ecb77fe479ae6c2dd77fcdef56e5f352d7285cd
parente006e2c9c6cc09e88c35586f87a214ac8e6c91d1 (diff)
downloadrust-3c0d3f2bf1a830a23e117382a094e6d13f41e58b.tar.gz
rust-3c0d3f2bf1a830a23e117382a094e6d13f41e58b.zip
Fix review comments
-rw-r--r--src/driver/aot.rs2
1 files changed, 1 insertions, 1 deletions
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))