diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-11-29 10:19:00 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-29 10:19:00 +0100 |
| commit | ce52b7b3d82eef4aca24d4f0cc9e22057fe3f755 (patch) | |
| tree | 783ea0784cd55c9270f8707c0fb9b7a795f157a7 /compiler/rustc_driver_impl/src | |
| parent | 72cf40d9edd4d8172f5e1ff58f6cafe9734b2e2a (diff) | |
| parent | accdfa1e526af99c4c60412a12a9a8253eab5984 (diff) | |
| download | rust-ce52b7b3d82eef4aca24d4f0cc9e22057fe3f755.tar.gz rust-ce52b7b3d82eef4aca24d4f0cc9e22057fe3f755.zip | |
Rollup merge of #133590 - nnethercote:rename-parse-only, r=estebank
Rename `-Zparse-only` It's a misleading name. r? ````@estebank````
Diffstat (limited to 'compiler/rustc_driver_impl/src')
| -rw-r--r-- | compiler/rustc_driver_impl/src/lib.rs | 4 |
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(); } |
