diff options
| author | bjorn3 <bjorn3@users.noreply.github.com> | 2021-06-04 16:36:40 +0200 |
|---|---|---|
| committer | bjorn3 <bjorn3@users.noreply.github.com> | 2022-06-03 16:46:20 +0000 |
| commit | 15e0d8bdb1f81be314114e78e4ff507a97e8ce33 (patch) | |
| tree | 6e16bf971c20ece9d39bff8a973879af7e01d4b7 /compiler/rustc_driver | |
| parent | a2591639ec714a4c415ae432353ae3413ac18b67 (diff) | |
| download | rust-15e0d8bdb1f81be314114e78e4ff507a97e8ce33.tar.gz rust-15e0d8bdb1f81be314114e78e4ff507a97e8ce33.zip | |
Remove support for -Zast-json and -Zast-json-noexpand
Diffstat (limited to 'compiler/rustc_driver')
| -rw-r--r-- | compiler/rustc_driver/src/lib.rs | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/compiler/rustc_driver/src/lib.rs b/compiler/rustc_driver/src/lib.rs index 0434997977a..179a184536e 100644 --- a/compiler/rustc_driver/src/lib.rs +++ b/compiler/rustc_driver/src/lib.rs @@ -343,10 +343,7 @@ fn run_compiler( return early_exit(); } - if sess.opts.debugging_opts.parse_only - || sess.opts.debugging_opts.show_span.is_some() - || sess.opts.debugging_opts.ast_json_noexpand - { + if sess.opts.debugging_opts.parse_only || sess.opts.debugging_opts.show_span.is_some() { return early_exit(); } @@ -375,7 +372,7 @@ fn run_compiler( queries.global_ctxt()?; - if sess.opts.debugging_opts.no_analysis || sess.opts.debugging_opts.ast_json { + if sess.opts.debugging_opts.no_analysis { return early_exit(); } |
