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.
This commit is contained in:
Nicholas Nethercote
2024-12-04 19:20:01 +11:00
parent e93e096cc8
commit e52f5bf16d
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();
}