about summary refs log tree commit diff
path: root/compiler/rustc_driver_impl/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-11-29 12:05:41 +0000
committerbors <bors@rust-lang.org>2024-11-29 12:05:41 +0000
commit0c4f3a45b86c77b0a89ff06703aa6097af35d924 (patch)
tree83c16880f6bc199f38f75acdfaa3326fa69328e1 /compiler/rustc_driver_impl/src
parent5bbbc0938cfeb3dbd348d5258ddb6025bc8398c7 (diff)
parentce52b7b3d82eef4aca24d4f0cc9e22057fe3f755 (diff)
downloadrust-0c4f3a45b86c77b0a89ff06703aa6097af35d924.tar.gz
rust-0c4f3a45b86c77b0a89ff06703aa6097af35d924.zip
Auto merge of #133619 - matthiaskrgr:rollup-7ywaheb, r=matthiaskrgr
Rollup of 7 pull requests

Successful merges:

 - #132782 (improvements on initial sysroot and libdir finding logics)
 - #133466 (Fix typos in pin.rs)
 - #133492 (bootstrap: allow skipping steps with start of path)
 - #133501 (support revealing defined opaque post borrowck)
 - #133530 (Use consistent wording in docs, use is zero instead of is 0)
 - #133538 (Better diagnostic for fn items in variadic functions)
 - #133590 (Rename `-Zparse-only`)

r? `@ghost`
`@rustbot` modify labels: rollup
Diffstat (limited to 'compiler/rustc_driver_impl/src')
-rw-r--r--compiler/rustc_driver_impl/src/lib.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler/rustc_driver_impl/src/lib.rs b/compiler/rustc_driver_impl/src/lib.rs
index 005053e4508..85eaae8a104 100644
--- a/compiler/rustc_driver_impl/src/lib.rs
+++ b/compiler/rustc_driver_impl/src/lib.rs
@@ -418,7 +418,9 @@ fn run_compiler(
                 return early_exit();
             }
 
-            if sess.opts.unstable_opts.parse_only || sess.opts.unstable_opts.show_span.is_some() {
+            if sess.opts.unstable_opts.parse_crate_root_only
+                || sess.opts.unstable_opts.show_span.is_some()
+            {
                 return early_exit();
             }