From 7a75ebed09c70ca92bf6c6808a6edba310aca182 Mon Sep 17 00:00:00 2001 From: klensy Date: Mon, 7 Feb 2022 22:45:29 +0300 Subject: [PATCH 1/2] 15221 -> 14956 exports --- compiler/rustc_query_impl/src/plumbing.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/rustc_query_impl/src/plumbing.rs b/compiler/rustc_query_impl/src/plumbing.rs index 6d76d09f6190e..1ae716e02009f 100644 --- a/compiler/rustc_query_impl/src/plumbing.rs +++ b/compiler/rustc_query_impl/src/plumbing.rs @@ -402,7 +402,7 @@ macro_rules! define_queries { } } - $(pub fn $name()-> DepKindStruct { + $(pub(crate) fn $name()-> DepKindStruct { let is_anon = is_anon!([$($modifiers)*]); let is_eval_always = is_eval_always!([$($modifiers)*]); From eb3b29fd09552abf1c00b1eea4150361ac94dc0b Mon Sep 17 00:00:00 2001 From: klensy Date: Tue, 8 Feb 2022 00:13:31 +0300 Subject: [PATCH 2/2] 14956 -> 14952 exports --- compiler/rustc_query_impl/src/plumbing.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/rustc_query_impl/src/plumbing.rs b/compiler/rustc_query_impl/src/plumbing.rs index 1ae716e02009f..b58b0f87630e3 100644 --- a/compiler/rustc_query_impl/src/plumbing.rs +++ b/compiler/rustc_query_impl/src/plumbing.rs @@ -299,7 +299,7 @@ macro_rules! define_queries { } #[allow(nonstandard_style)] - pub mod queries { + mod queries { use std::marker::PhantomData; $(pub struct $name<$tcx> { @@ -353,7 +353,7 @@ macro_rules! define_queries { })* #[allow(nonstandard_style)] - pub mod query_callbacks { + mod query_callbacks { use super::*; use rustc_middle::dep_graph::DepNode; use rustc_middle::ty::query::query_keys;