diff options
| author | bors <bors@rust-lang.org> | 2022-05-21 06:38:49 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-05-21 06:38:49 +0000 |
| commit | 4f372b14dea58cbff1dd76bb651f9c035d3f6e7b (patch) | |
| tree | 950b33879d87e39f4112e562136c21191809aef0 /compiler/rustc_query_impl/src | |
| parent | 3b64fe953c23b7d56dd5ebf61b6dbd82b345f880 (diff) | |
| parent | 69702468865d582f512df31a52ac2608afe5df0d (diff) | |
| download | rust-4f372b14dea58cbff1dd76bb651f9c035d3f6e7b.tar.gz rust-4f372b14dea58cbff1dd76bb651f9c035d3f6e7b.zip | |
Auto merge of #97239 - jhpratt:remove-crate-vis, r=joshtriplett
Remove `crate` visibility modifier FCP to remove this syntax is just about complete in #53120. Once it completes, this should be merged ASAP to avoid merge conflicts. The first two commits remove usage of the feature in this repository, while the last removes the feature itself.
Diffstat (limited to 'compiler/rustc_query_impl/src')
| -rw-r--r-- | compiler/rustc_query_impl/src/lib.rs | 1 | ||||
| -rw-r--r-- | compiler/rustc_query_impl/src/plumbing.rs | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/compiler/rustc_query_impl/src/lib.rs b/compiler/rustc_query_impl/src/lib.rs index 2fa030f9b3f..bfc51dedbc7 100644 --- a/compiler/rustc_query_impl/src/lib.rs +++ b/compiler/rustc_query_impl/src/lib.rs @@ -1,7 +1,6 @@ //! Support for serializing the dep-graph and reloading it. #![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")] -#![feature(crate_visibility_modifier)] #![feature(nll)] #![feature(min_specialization)] #![feature(once_cell)] diff --git a/compiler/rustc_query_impl/src/plumbing.rs b/compiler/rustc_query_impl/src/plumbing.rs index ae4ad428159..634236c0dac 100644 --- a/compiler/rustc_query_impl/src/plumbing.rs +++ b/compiler/rustc_query_impl/src/plumbing.rs @@ -129,7 +129,7 @@ impl<'tcx> QueryCtxt<'tcx> { QueryCtxt { tcx, queries } } - crate fn on_disk_cache(self) -> Option<&'tcx on_disk_cache::OnDiskCache<'tcx>> { + pub(crate) fn on_disk_cache(self) -> Option<&'tcx on_disk_cache::OnDiskCache<'tcx>> { self.queries.on_disk_cache.as_ref() } |
