diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-12-04 18:23:42 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-04 18:23:42 +0100 |
| commit | a4dc9634a8a7d25fc2ed3b0a5724d19b6e0697ca (patch) | |
| tree | c75ce5f63c0397e4da4ba1316a41ea1e651ff6e2 /compiler/rustc_driver_impl/src | |
| parent | e6d7ab2c3cd4646731e7e4d24f90da4062ae9ef5 (diff) | |
| parent | e52f5bf16dea36f302ad33af92518dcc8083012f (diff) | |
| download | rust-a4dc9634a8a7d25fc2ed3b0a5724d19b6e0697ca.tar.gz rust-a4dc9634a8a7d25fc2ed3b0a5724d19b6e0697ca.zip | |
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`
Diffstat (limited to 'compiler/rustc_driver_impl/src')
| -rw-r--r-- | compiler/rustc_driver_impl/src/lib.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/compiler/rustc_driver_impl/src/lib.rs b/compiler/rustc_driver_impl/src/lib.rs index 5b472bb9b81..b7d64f75bf3 100644 --- a/compiler/rustc_driver_impl/src/lib.rs +++ b/compiler/rustc_driver_impl/src/lib.rs @@ -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(); } |
