Rollup merge of #133847 - nnethercote:rm-Z-show-span, r=compiler-errors

Remove `-Zshow-span`.

It's very old (added in #12087). It's strange, and it's not clear what its use cases are. It only works with the crate root file because it runs before expansion. I suspect it won't be missed.

r? `@estebank`
This commit is contained in:
Matthias Krüger 2024-12-04 18:23:42 +01:00 committed by GitHub
commit a4dc9634a8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 1 additions and 91 deletions

View file

@ -418,9 +418,7 @@ fn run_compiler(
return early_exit();
}
if sess.opts.unstable_opts.parse_crate_root_only
|| sess.opts.unstable_opts.show_span.is_some()
{
if sess.opts.unstable_opts.parse_crate_root_only {
return early_exit();
}