Rollup merge of #133590 - nnethercote:rename-parse-only, r=estebank

Rename `-Zparse-only`

It's a misleading name.

r? ````@estebank````
This commit is contained in:
Matthias Krüger 2024-11-29 10:19:00 +01:00 committed by GitHub
commit ce52b7b3d8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 21 additions and 18 deletions

View file

@ -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();
}