summary refs log tree commit diff
path: root/compiler/rustc_session/src
diff options
context:
space:
mode:
authorTakayuki Maeda <takoyaki0316@gmail.com>2023-11-14 00:54:15 +0900
committerGitHub <noreply@github.com>2023-11-14 00:54:15 +0900
commitbf8cf456b68d4318ef4f0b73c613b9b3f246e185 (patch)
treed07421d9e59eee25ac66eb069e842ab7ec8d4d3f /compiler/rustc_session/src
parent1ab2bcda4303b81b1124b88ddff6f5e9a68d7bc2 (diff)
parent2e40d11f8cd9d0e2f9c62e40311f64161d3071cb (diff)
downloadrust-bf8cf456b68d4318ef4f0b73c613b9b3f246e185.tar.gz
rust-bf8cf456b68d4318ef4f0b73c613b9b3f246e185.zip
Rollup merge of #117737 - nnethercote:rm-Zkeep-hygiene-data, r=petrochenkov
Remove `-Zkeep-hygiene-data`.

It was added way back in #28585 under the name `-Zkeep-mtwt-tables`. The justification was:

> This is so that the resolution results can be used after analysis,
> potentially for tool support.

There are no uses of significance in the code base, and various Google searches for both option names (and variants) found nothing of interest. I think this can safely be removed.

r? `@davidtwco`
Diffstat (limited to 'compiler/rustc_session/src')
-rw-r--r--compiler/rustc_session/src/options.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler/rustc_session/src/options.rs b/compiler/rustc_session/src/options.rs
index 76d69646f1d..7c8edb1bdf4 100644
--- a/compiler/rustc_session/src/options.rs
+++ b/compiler/rustc_session/src/options.rs
@@ -1621,8 +1621,6 @@ options! {
          `=skip-entry`
          `=skip-exit`
          Multiple options can be combined with commas."),
-    keep_hygiene_data: bool = (false, parse_bool, [UNTRACKED],
-        "keep hygiene data after analysis (default: no)"),
     layout_seed: Option<u64> = (None, parse_opt_number, [TRACKED],
         "seed layout randomization"),
     link_directives: bool = (true, parse_bool, [TRACKED],