diff options
| author | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2025-01-22 13:58:47 +0000 |
|---|---|---|
| committer | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2025-01-23 09:38:58 +0000 |
| commit | 4f9b9a43c1c64781a19edeb58b4022df9ac0aafb (patch) | |
| tree | fdac24dea6f2162f351d7d181520472a831154c7 /src/librustdoc/doctest.rs | |
| parent | b2728d5426bab1d8c39709768c7e22b7f66dde5d (diff) | |
| download | rust-4f9b9a43c1c64781a19edeb58b4022df9ac0aafb.tar.gz rust-4f9b9a43c1c64781a19edeb58b4022df9ac0aafb.zip | |
Remove the need to manually call set_using_internal_features
Diffstat (limited to 'src/librustdoc/doctest.rs')
| -rw-r--r-- | src/librustdoc/doctest.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/doctest.rs b/src/librustdoc/doctest.rs index 009e9662933..8c3e28ecec3 100644 --- a/src/librustdoc/doctest.rs +++ b/src/librustdoc/doctest.rs @@ -193,7 +193,7 @@ pub(crate) fn run(dcx: DiagCtxtHandle<'_>, input: Input, options: RustdocOptions make_codegen_backend: None, registry: rustc_driver::diagnostics_registry(), ice_file: None, - using_internal_features: Arc::default(), + using_internal_features: &rustc_driver::USING_INTERNAL_FEATURES, expanded_args: options.expanded_args.clone(), }; |
