Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rustc_query_impl: reduce visibility of some modules/fn's #93748

Merged
merged 2 commits into from
Feb 9, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions compiler/rustc_query_impl/src/plumbing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ macro_rules! define_queries {
}

#[allow(nonstandard_style)]
pub mod queries {
mod queries {
use std::marker::PhantomData;

$(pub struct $name<$tcx> {
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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)*]);

Expand Down