about summary refs log tree commit diff
path: root/src/tools/compiletest
diff options
context:
space:
mode:
authorZalathar <Zalathar@users.noreply.github.com>2023-10-22 18:35:14 +1100
committerZalathar <Zalathar@users.noreply.github.com>2023-10-23 17:41:40 +1100
commit71b7322440aaba17a163bcb962e5c8cb07239725 (patch)
treee6a238df4a22b70cadf799a54fd5e63fdd7713ac /src/tools/compiletest
parentf83f7966f5a9cadffd0b9ef115e0834bbef2d0dd (diff)
downloadrust-71b7322440aaba17a163bcb962e5c8cb07239725.tar.gz
rust-71b7322440aaba17a163bcb962e5c8cb07239725.zip
Fix comment: coverage-map tests compile to LLVM IR, not MIR
Diffstat (limited to 'src/tools/compiletest')
-rw-r--r--src/tools/compiletest/src/runtest.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/compiletest/src/runtest.rs b/src/tools/compiletest/src/runtest.rs
index 8ce00e00b57..ac270a1f0ba 100644
--- a/src/tools/compiletest/src/runtest.rs
+++ b/src/tools/compiletest/src/runtest.rs
@@ -2470,7 +2470,7 @@ impl<'test> TestCx<'test> {
             }
             CoverageMap => {
                 rustc.arg("-Cinstrument-coverage");
-                // These tests only compile to MIR, so they don't need the
+                // These tests only compile to LLVM IR, so they don't need the
                 // profiler runtime to be present.
                 rustc.arg("-Zno-profiler-runtime");
                 // Coverage mappings are sensitive to MIR optimizations, and