summary refs log tree commit diff
path: root/compiler/rustc_session/src
diff options
context:
space:
mode:
authorbjorn3 <bjorn3@users.noreply.github.com>2021-06-04 16:36:40 +0200
committerbjorn3 <bjorn3@users.noreply.github.com>2022-06-03 16:46:20 +0000
commit15e0d8bdb1f81be314114e78e4ff507a97e8ce33 (patch)
tree6e16bf971c20ece9d39bff8a973879af7e01d4b7 /compiler/rustc_session/src
parenta2591639ec714a4c415ae432353ae3413ac18b67 (diff)
downloadrust-15e0d8bdb1f81be314114e78e4ff507a97e8ce33.tar.gz
rust-15e0d8bdb1f81be314114e78e4ff507a97e8ce33.zip
Remove support for -Zast-json and -Zast-json-noexpand
Diffstat (limited to 'compiler/rustc_session/src')
-rw-r--r--compiler/rustc_session/src/options.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/compiler/rustc_session/src/options.rs b/compiler/rustc_session/src/options.rs
index 66198dff2ae..ae32fd2dee9 100644
--- a/compiler/rustc_session/src/options.rs
+++ b/compiler/rustc_session/src/options.rs
@@ -1207,10 +1207,6 @@ options! {
     assert_incr_state: Option<String> = (None, parse_opt_string, [UNTRACKED],
         "assert that the incremental cache is in given state: \
          either `loaded` or `not-loaded`."),
-    ast_json: bool = (false, parse_bool, [UNTRACKED],
-        "print the AST as JSON and halt (default: no)"),
-    ast_json_noexpand: bool = (false, parse_bool, [UNTRACKED],
-        "print the pre-expansion AST as JSON and halt (default: no)"),
     binary_dep_depinfo: bool = (false, parse_bool, [TRACKED],
         "include artifacts (sysroot, crate dependencies) used during compilation in dep-info \
         (default: no)"),