Skip to content

Commit f8de95c

Browse files
lucagladiatorifxfrancois
authored andcommitted
Render tests
1 parent 836f36c commit f8de95c

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/librustdoc/config.rs

-5
Original file line numberDiff line numberDiff line change
@@ -163,9 +163,6 @@ pub(crate) struct Options {
163163
/// the compiler will scrape examples and not generate documentation.
164164
pub(crate) scrape_examples_options: Option<ScrapeExamplesOptions>,
165165

166-
/// Whether to generate documentation for tests.
167-
pub(crate) document_tests: bool,
168-
169166
/// Note: this field is duplicated in `RenderOptions` because it's useful
170167
/// to have it in both places.
171168
pub(crate) unstable_features: rustc_feature::UnstableFeatures,
@@ -219,7 +216,6 @@ impl fmt::Debug for Options {
219216
.field("remap-file-prefix", &self.remap_path_prefix)
220217
.field("nocapture", &self.nocapture)
221218
.field("scrape_examples_options", &self.scrape_examples_options)
222-
.field("document_tests", &self.document_tests)
223219
.field("unstable_features", &self.unstable_features)
224220
.finish()
225221
}
@@ -824,7 +820,6 @@ impl Options {
824820
output_format,
825821
json_unused_externs,
826822
scrape_examples_options,
827-
document_tests,
828823
unstable_features,
829824
expanded_args: args,
830825
};

0 commit comments

Comments
 (0)